14 #include "unitsinfo.h" 31 struct UPCToCommandState {
32 std::set<const Unit*> commandToUnit;
33 std::vector<tc::Client::Command> commands;
34 std::vector<int> upcIds;
37 void checkDuplicateCommand(
49 void postGameCommand(
State*, UPCToCommandState&);
50 void temporaryDebugDrawing(
State*, UPCToCommandState&);
Game state.
Definition: state.h:42
UPCToCommandModule()
Definition: upctocommand.h:25
(Unit, Position, Command) tuple.
Definition: upc.h:43
virtual ~UPCToCommandModule()=default
Represents a unit in the game.
Definition: unitsinfo.h:35
virtual void step(State *s)
Definition: upctocommand.cpp:252
The last module run in each frame.
Definition: upctocommand.h:23
Main namespace for bot-related code.
Definition: areainfo.cpp:17
int UpcId
Definition: basetypes.h:23
Interface for bot modules.
Definition: module.h:30