- def get_string_options(self, string_option_type):
- if string_option_type == 'map_geometry':
- return ['Hex', 'Square']
- elif string_option_type == 'thing_type':
- return self.thing_types.keys()
- return None
+ def train_parser(self):
+ self.parser.string_options = {
+ 'map_geometry': {'Hex', 'Square'},
+ 'thing_type': self.thing_types.keys()
+ }