Python Reference
Stratega python bindings
|
Loads game config |
|
Create game runner |
|
Create game aren |
|
Generate agents |
|
Set default logger |
|
Load Levels definitions from YAML |
Contains the definition of an action. |
|
Used to define how the SGA::ForwardModel::executeAction() will execute this action. |
|
Contains the last tick this action was executed and the action type ID. |
|
Contains the main information of an action as the action type id that is linked to an ActionType |
|
None, Position, Tile, EntityType, Entity, Technology, ContinuousAction, Object, SlotObject |
|
None, Position, Tile, EntityType, Entity, Technology, ContinuousAction, Object, SlotObject |
|
Contains all the information of a tile type. |
|
Contains the instanted object of a Tile information. |
|
Contains a 2D grid of tiles. |
|
Contains all the implementation of a player. |
|
Enum that contains all the basic game types |
|
Represents a grouping of action and entity types into categories |
|
Represents a grouping of entity types into categories. |
|
Represents a grouping of action types into categories. |
|
Contains all the information of a parameter such as the default, min and max value. |
|
Used to know who is the source of an action, it can be a entity or a player. |
|
Target type: None, Position, Tile, EntityType, Entity, Technology, ContinuousAction, Object, SlotObject |
|
Target type: None, Position, Tile, EntityType, Entity, Technology, ContinuousAction, Object, SlotObject |
|
Contais the definition of the sampling method used to sample the targets. |
|
An abstract class used to check a condition in a gamestate |
|
An abstract class used to modify the gamestate |
|
Used by Action to reference any possible type of target available in Stratega. |
|
Used by Action to reference any possible type of target available in Stratega. |
|
Contains the information of a entity placement |
|
Contains the definition of a level, this include the string and the default entity placaments. |
|
Contains a list of technology trees, indexed by a unique ID. |
|
Contains the definition of a technology tree type. |
|
Contains definition of a specific technology. |
|
An abstract class that provides a simplified interface to play games with a given SGA::GameConfig. |
|
Contains the current configuration of a game. |
|
Contains all the type information used by the game. |
|
The Arena provides an easy way to test the performance between different Agents in different environments. |
|
An interface for observing events in a game. |
|
Heuristic that focus in minimizing the distance with the enemy. |
|
A collection of action-assignments to entities and players in a game. |
|
Contains the game data without any logic, offering access to the current board, a list of player and their units. |
|
Is the driving component of Stratega, with a provided gamestate it can generate a new set of available actions thanks to the |
|
Is the default SGA::ForwardModel for TBS games, it contains specific methods. |
|
Is the default SGA::ForwardModel for RTS games, it contains specific methods. |
|
Set of effects executed every tick |
|
Set of effects executed every entity is spawned |
|
Contains all the points of the path and the current point index. |
|
Abstract class from which all agents should inherit. |
|
Is an object that interacts with the game and responds to player input or other entities. |