stratega.GameConfig

class stratega.GameConfig

Contains the current configuration of a game. It can generate the gamestate with the actual configuration.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

generate_agents(self)

generate_gamestate(self, levelID)

get_action_id(self, name)

get_entity_id(self, name)

get_forward_model(self)

get_number_of_players(self)

get_technology_id(self, name)

get_tile_id(self, name)

Attributes

action_categories

action_types

default_tile_type_id

entity_categories

entity_groups

entity_types

forward_model

game_type

level_definitions

num_players

parameters

player_action_ids

player_parameter_types

player_spawnable_types

resources_path

selected_level

technology_tree_collection

tick_limit

tile_types

yaml_path