16 #include <unordered_map> 33 std::unordered_map<Unit*, std::tuple<int, const BuildType*, Position>>
57 virtual void step(
State* s)
override;
60 std::shared_ptr<BuilderControllerData>
bcdata_;
double currentGasPerFrame
Definition: builder.h:31
Game state.
Definition: state.h:42
BuilderModule()
Definition: builder.h:54
Shared data among all builder controllers.
Definition: builder.h:24
tc::Resources res
Definition: builder.h:25
std::deque< int > gasHistory
Definition: builder.h:29
std::deque< int > mineralsHistory
Definition: builder.h:28
std::unordered_map< Unit *, std::tuple< int, const BuildType *, Position > > recentAssignedBuilders
Definition: builder.h:34
int lastIncomeHistoryUpdate
Definition: builder.h:27
double currentMineralsPerFrame
Definition: builder.h:30
A general-purpose unit production module.
Definition: builder.h:52
std::shared_ptr< BuilderControllerData > bcdata_
Definition: builder.h:60
Main namespace for bot-related code.
Definition: areainfo.cpp:17
Interface for bot modules.
Definition: module.h:30