stratega.GameDescription

class stratega.GameDescription

Represents a grouping of action and entity types into categories

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_action_categories(self)

Returns the action categories of this game.

get_action_types(self, category, gameInfo)

Returns all the actiontypes IDs of the selected action category.

get_action_types_ids(self, category)

Returns all the actiontypes IDs of the selected action category.

get_entity_categories(self)

Returns the entity categories of this game.

get_entity_types(self, category, gameInfo)

Returns all the entitytypes IDs of the selected action category.

get_entity_types_ids(self, category)

Returns all the entitytypes IDs of the selected action category.

is_from_category(self, category, entityTypeId)

Checks if a given entity type ID belongs to a given category