robot_api Namespace Reference

Classes

struct  AttackNotice
 
struct  GridCell
 
struct  RoboSimExecutionException
 
struct  Robot_Specs
 
struct  Robot_Status
 
class  RobotData
 
class  RobotUtility
 

Enumerations

enum  GridObject {
  EMPTY, BLOCKED, SELF, ALLY,
  ENEMY, WALL, FORT, CAPSULE
}
 
enum  Direction { UP, DOWN, LEFT, RIGHT }
 
enum  BuildStatus { NOTHING, ROBOT }
 
enum  AttackType { MELEE, RANGED }
 
enum  AttackResult { MISSED, HIT, DESTROYED_TARGET }
 

Enumeration Type Documentation

Represents result of attack: missed, hit, destroyed target

Enumerator
MISSED 
HIT 
DESTROYED_TARGET 

Definition at line 141 of file robot_api.hpp.

Attack type: melee, ranged, or capsule

Enumerator
MELEE 
RANGED 

Definition at line 123 of file robot_api.hpp.

123 { MELEE, RANGED, /*CAPSULE*/ };

Represents what a robot is currently building

Enumerator
NOTHING 
ROBOT 

Definition at line 101 of file robot_api.hpp.

101 { NOTHING, /*WALL, FORT, CAPSULE,*/ ROBOT };

Represents orientation in simulator's world.

Enumerator
UP 
DOWN 
LEFT 
RIGHT 

Definition at line 68 of file robot_api.hpp.

Represents object located in particular GridCell.

Enumerator
EMPTY 
BLOCKED 
SELF 
ALLY 
ENEMY 
WALL 
FORT 
CAPSULE 

Definition at line 65 of file robot_api.hpp.