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

#include <tactics.h>

Public Attributes

std::vector< Unit * > enemyUnits
 
std::vector< Unit * > myUnits
 
UnittargetUnit = nullptr
 
Position targetPos
 
Position averagePos
 
std::shared_ptr< TacticsTasktask
 
bool hasEnoughUnits = false
 
bool hasEnemyGroundUnits = false
 
bool hasEnemyAirUnits = false
 
bool hasEnemyBuildings = false
 
bool hasEnemyCloakedUnits = false
 
bool hasEnemyTanks = false
 
bool hasEnemyReavers = false
 
bool hasEnemyBunkers = false
 
bool hasEnemyWorkers = false
 
bool hasEnemyAntiGround = false
 
bool hasEnemyAntiAir = false
 
bool hasEnemyStaticDefence = false
 
bool enemiesAreAttacking = false
 
bool enemiesInOurBase = false
 
bool isAggressiveGroup = true
 
double score = 0.0
 
bool searchAndDestroy = false
 
bool isIdleGroup = false
 
bool isScoutGroup = false
 
bool enemyIsOnlyWorkers = true
 

Member Data Documentation

Position cherrypi::TacticsGroup::averagePos
bool cherrypi::TacticsGroup::enemiesAreAttacking = false
bool cherrypi::TacticsGroup::enemiesInOurBase = false
bool cherrypi::TacticsGroup::enemyIsOnlyWorkers = true
std::vector<Unit*> cherrypi::TacticsGroup::enemyUnits
bool cherrypi::TacticsGroup::hasEnemyAirUnits = false
bool cherrypi::TacticsGroup::hasEnemyAntiAir = false
bool cherrypi::TacticsGroup::hasEnemyAntiGround = false
bool cherrypi::TacticsGroup::hasEnemyBuildings = false
bool cherrypi::TacticsGroup::hasEnemyBunkers = false
bool cherrypi::TacticsGroup::hasEnemyCloakedUnits = false
bool cherrypi::TacticsGroup::hasEnemyGroundUnits = false
bool cherrypi::TacticsGroup::hasEnemyReavers = false
bool cherrypi::TacticsGroup::hasEnemyStaticDefence = false
bool cherrypi::TacticsGroup::hasEnemyTanks = false
bool cherrypi::TacticsGroup::hasEnemyWorkers = false
bool cherrypi::TacticsGroup::hasEnoughUnits = false
bool cherrypi::TacticsGroup::isAggressiveGroup = true
bool cherrypi::TacticsGroup::isIdleGroup = false
bool cherrypi::TacticsGroup::isScoutGroup = false
std::vector<Unit*> cherrypi::TacticsGroup::myUnits
double cherrypi::TacticsGroup::score = 0.0
bool cherrypi::TacticsGroup::searchAndDestroy = false
Position cherrypi::TacticsGroup::targetPos
Unit* cherrypi::TacticsGroup::targetUnit = nullptr
std::shared_ptr<TacticsTask> cherrypi::TacticsGroup::task

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