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

A low-resolution snapshot of a unit state, used as a component of Snapshots. More...

#include <snapshotter.h>

Public Member Functions

template<class Archive >
void serialize (Archive &ar)
 

Public Attributes

int type
 
int x
 
int y
 
int health
 
int shields
 
int energy
 

Detailed Description

A low-resolution snapshot of a unit state, used as a component of Snapshots.

Member Function Documentation

template<class Archive >
void cherrypi::SnapshotUnit::serialize ( Archive &  ar)
inline

Member Data Documentation

int cherrypi::SnapshotUnit::energy
int cherrypi::SnapshotUnit::health
int cherrypi::SnapshotUnit::shields
int cherrypi::SnapshotUnit::type
int cherrypi::SnapshotUnit::x
int cherrypi::SnapshotUnit::y

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