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

Shared data among all builder controllers. More...

#include <builder.h>

Public Attributes

tc::Resources res
 
int lastIncomeHistoryUpdate = 0
 
std::deque< int > mineralsHistory
 
std::deque< int > gasHistory
 
double currentMineralsPerFrame = 0.0
 
double currentGasPerFrame = 0.0
 
std::unordered_map< Unit *, std::tuple< int, const BuildType *, Position > > recentAssignedBuilders
 

Detailed Description

Shared data among all builder controllers.

Member Data Documentation

double cherrypi::BuilderControllerData::currentGasPerFrame = 0.0
double cherrypi::BuilderControllerData::currentMineralsPerFrame = 0.0
std::deque<int> cherrypi::BuilderControllerData::gasHistory
int cherrypi::BuilderControllerData::lastIncomeHistoryUpdate = 0
std::deque<int> cherrypi::BuilderControllerData::mineralsHistory
std::unordered_map<Unit*, std::tuple<int, const BuildType*, Position> > cherrypi::BuilderControllerData::recentAssignedBuilders
tc::Resources cherrypi::BuilderControllerData::res

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