TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Attributes | List of all members
cherrypi::AreaInfo::BaseInfo Struct Reference

#include <areainfo.h>

Public Attributes

Area * area
 Area to which the base belongs. More...
 
int baseId
 Base index within the area, which corresponds to the build location. More...
 
Unit * resourceDepot
 Resource depot constructed on the base. More...
 
float saturation = 0.0f
 How saturated are this base's resources? Currently calculated by GathererController for speed + expediency. More...
 

Member Data Documentation

Area* cherrypi::AreaInfo::BaseInfo::area

Area to which the base belongs.

int cherrypi::AreaInfo::BaseInfo::baseId

Base index within the area, which corresponds to the build location.

Unit* cherrypi::AreaInfo::BaseInfo::resourceDepot

Resource depot constructed on the base.

float cherrypi::AreaInfo::BaseInfo::saturation = 0.0f

How saturated are this base's resources? Currently calculated by GathererController for speed + expediency.

(No, this isn't a good design)


The documentation for this struct was generated from the following file: