robot_api::GridCell Struct Reference

#include <robot_api.hpp>

Collaboration diagram for robot_api::GridCell:

Public Attributes

int x_coord
 
int y_coord
 
GridObject contents
 
Direction fort_orientation
 
int capsule_power
 

Private Attributes

bool has_private_members = false
 
RobotDataoccupant_data
 
int wallforthealth
 

Friends

class ::RoboSim
 
class RobotUtility
 

Detailed Description

Represents cell in grid of simulator's world.

Definition at line 74 of file robot_api.hpp.

Friends And Related Function Documentation

friend class ::RoboSim
friend

Definition at line 92 of file robot_api.hpp.

friend class RobotUtility
friend

Definition at line 93 of file robot_api.hpp.

Member Data Documentation

int robot_api::GridCell::capsule_power

power of capsule, if there is a capsule in the cell.

Definition at line 89 of file robot_api.hpp.

Referenced by RoboSim::RoboAPIImplementor::drop_capsule(), and RoboSim::RoboAPIImplementor::pick_up_capsule().

Direction robot_api::GridCell::fort_orientation

orientation of fort, if there is a fort in the cell.

Definition at line 86 of file robot_api.hpp.

bool robot_api::GridCell::has_private_members = false
private
int robot_api::GridCell::wallforthealth
private

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