A suitable position for building a town hall (Command Center, Hatchery or
A suitable position for building a town hall (Command Center, Hatchery or
Nexus), defined as a :class:`library.Point2DI`.
Nexus), defined as a :class:`library.Point2DI`.
...
@@ -131,3 +131,9 @@ BuildingPlacer
...
@@ -131,3 +131,9 @@ BuildingPlacer
.. autoclass:: library.BuildingPlacer
.. autoclass:: library.BuildingPlacer
:members:
:members:
:undoc-members:
:undoc-members:
This class is useful for placing all buildings, except refineries and town halls (Command Centers, Hacheries and Nexus).
If you want to place a town hall, take a look at attribute `depot_location` of :class:`library.BaseLocation`.
If you want to place a refinery, take a look at attribute `geysers` of :class:`library.BaseLocation` and the method build_target of :class:`library.Unit`.