-
David Bergström authoredDavid Bergström authored
Managers
The original CommandCenter bot uses managers to do everything, having managers manage workers, building, controlling military etc. In this API we have removed all the control related managers and only kept the managers related to helping process input information, leaving the decision-making to the user of the API.
Here is a full list of all managers:
- :class:`library.BaseLocationManager`
- :class:`library.TechTree`
- :class:`library.MapTools`
- :class:`library.BuildingPlacer`
The rest of this page contains a brief description of each manager.
BaseLocationManager
Closely related to BaseLocationManager. This is the datastructure used by the BaseLocationManager to keep track of all base locations and related information.
TechTree
This class contains all information about units and what is required to build a certain unit and what builds it. It only has one method, which is used to look-up unit types properties: