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

#include <combatsim.h>

Public Attributes

int x = 0
 
int y = 0
 
double hp = 0.0
 
double shields = 0.0
 
int armor = 0
 
int maxSpeed = 0
 
bool flying = false
 
bool underDarkSwarm = false
 
const BuildTypetype = nullptr
 
SimUnittarget = nullptr
 
bool targetInRange = false
 
int cooldownUntil = 0
 
int groundDamage = 0
 
int airDamage = 0
 
int groundDamageType = 0
 
int airDamageType = 0
 
int groundRange = 0
 
int airRange = 0
 

Member Data Documentation

int cherrypi::CombatSim::SimUnit::airDamage = 0
int cherrypi::CombatSim::SimUnit::airDamageType = 0
int cherrypi::CombatSim::SimUnit::airRange = 0
int cherrypi::CombatSim::SimUnit::armor = 0
int cherrypi::CombatSim::SimUnit::cooldownUntil = 0
bool cherrypi::CombatSim::SimUnit::flying = false
int cherrypi::CombatSim::SimUnit::groundDamage = 0
int cherrypi::CombatSim::SimUnit::groundDamageType = 0
int cherrypi::CombatSim::SimUnit::groundRange = 0
double cherrypi::CombatSim::SimUnit::hp = 0.0
int cherrypi::CombatSim::SimUnit::maxSpeed = 0
double cherrypi::CombatSim::SimUnit::shields = 0.0
SimUnit* cherrypi::CombatSim::SimUnit::target = nullptr
bool cherrypi::CombatSim::SimUnit::targetInRange = false
const BuildType* cherrypi::CombatSim::SimUnit::type = nullptr
bool cherrypi::CombatSim::SimUnit::underDarkSwarm = false
int cherrypi::CombatSim::SimUnit::x = 0
int cherrypi::CombatSim::SimUnit::y = 0

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