double speedMult
Definition: combatsim.h:56
Predicts the outcome of a hypothetical fight by simulating unit movements/attacks.
Definition: combatsim.h:26
Definition: combatsim.h:50
int airRange
Definition: combatsim.h:47
int cooldownUntil
Definition: combatsim.h:41
Represents and holds information about buildable types (units, upgrades, techs).
Definition: buildtype.h:36
Definition: combatsim.h:28
int airDamage
Definition: combatsim.h:43
int x
Definition: combatsim.h:29
void run(int frames)
Definition: combatsim.cpp:96
replayer::Unit Unit
Definition: state.h:36
SimUnit * target
Definition: combatsim.h:38
Represents a unit in the game.
Definition: unitsinfo.h:35
double shields
Definition: combatsim.h:32
bool flying
Definition: combatsim.h:35
int groundRange
Definition: combatsim.h:46
double hp
Definition: combatsim.h:31
int maxSpeed
Definition: combatsim.h:34
int groundDamage
Definition: combatsim.h:42
bool targetInRange
Definition: combatsim.h:39
const BuildType * type
Definition: combatsim.h:37
int airDamageType
Definition: combatsim.h:45
std::array< Team, 2 > teams
Definition: combatsim.h:57
int groundDamageType
Definition: combatsim.h:44
std::vector< SimUnit > units
Definition: combatsim.h:53
int armor
Definition: combatsim.h:33
bool underDarkSwarm
Definition: combatsim.h:36
Main namespace for bot-related code.
Definition: areainfo.cpp:17
bool addUnit(Unit *u)
Definition: combatsim.cpp:39
int y
Definition: combatsim.h:30