34 std::shared_ptr<Task> task,
35 std::unordered_map<Unit*, HealthInfo>* targetHealth);
Game state.
Definition: state.h:42
int shield
Definition: combatmicro.h:28
void updateTasks(State *s)
Definition: combatmicro.cpp:203
void consumeUPC(State *s, int upcId, std::shared_ptr< UPCTuple > upc)
Definition: combatmicro.cpp:184
int hp
Definition: combatmicro.h:27
replayer::Unit Unit
Definition: state.h:36
Unit micro-management for combats.
Definition: combatmicro.h:21
Definition: combatmicro.h:26
void updateTarget(std::shared_ptr< Task > task, std::unordered_map< Unit *, HealthInfo > *targetHealth)
Definition: combatmicro.cpp:248
virtual void step(State *s) override
Definition: combatmicro.cpp:161
Main namespace for bot-related code.
Definition: areainfo.cpp:17
Interface for bot modules.
Definition: module.h:30