#include <robot_api.hpp>

| Public Attributes | |
| int | x_coord | 
| int | y_coord | 
| GridObject | contents | 
| Direction | fort_orientation | 
| int | capsule_power | 
| Private Attributes | |
| bool | has_private_members = false | 
| RobotData * | occupant_data | 
| int | wallforthealth | 
| Friends | |
| class | ::RoboSim | 
| class | RobotUtility | 
Represents cell in grid of simulator's world.
Definition at line 74 of file robot_api.hpp.
| 
 | friend | 
Definition at line 92 of file robot_api.hpp.
| 
 | friend | 
Definition at line 93 of file robot_api.hpp.
| 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().
| GridObject robot_api::GridCell::contents | 
contents of cell.
Definition at line 83 of file robot_api.hpp.
Referenced by RoboSim::RoboAPIImplementor::capsuleAttack(), RoboSim::RoboAPIImplementor::charge(), RoboSim::RoboAPIImplementor::drop_capsule(), robot_api::RobotUtility::findShortestPath(), RoboSim::getSanitizedSubGrid(), RoboSim::RoboAPIImplementor::meleeAttack(), RoboSim::SimGridAllyDeterminant::operator()(), RoboSim::RoboAPIImplementor::pick_up_capsule(), RoboSim::RoboAPIImplementor::processAttack(), RoboSim::RoboAPIImplementor::rangedAttack(), RoboSim::RoboAPIImplementor::scanEnemy(), and RoboSim::RoboAPIImplementor::setBuildTarget().
| 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.
| 
 | private | 
Definition at line 95 of file robot_api.hpp.
Referenced by RoboSim::getSanitizedSubGrid(), and RoboSim::SimGridAllyDeterminant::operator()().
| 
 | private | 
Definition at line 96 of file robot_api.hpp.
Referenced by RoboSim::RoboAPIImplementor::capsuleAttack(), RoboSim::RoboAPIImplementor::charge(), RoboSim::RoboAPIImplementor::finalizeBuilding(), RoboSim::getOccupantPlayer(), RoboSim::getSanitizedSubGrid(), RoboSim::RoboAPIImplementor::meleeAttack(), RoboSim::SimGridAllyDeterminant::operator()(), RoboSim::RoboAPIImplementor::processAttack(), RoboSim::RoboAPIImplementor::rangedAttack(), RoboSim::RoboAPIImplementor::scanEnemy(), and RoboSim::RoboAPIImplementor::sendMessage().
| 
 | private | 
Definition at line 97 of file robot_api.hpp.
Referenced by RoboSim::getSanitizedSubGrid(), RoboSim::RoboAPIImplementor::meleeAttack(), and RoboSim::RoboAPIImplementor::processAttack().
| int robot_api::GridCell::x_coord | 
X-coordinate of cell.
Definition at line 77 of file robot_api.hpp.
Referenced by RoboSim::RoboAPIImplementor::capsuleAttack(), RoboSim::RoboAPIImplementor::charge(), RoboSim::RoboAPIImplementor::drop_capsule(), robot_api::RobotUtility::findShortestPathInternal(), RoboSim::RoboAPIImplementor::getVisibleNeighborhood(), RoboSim::RoboAPIImplementor::getWorld(), DemoBot::isAdjacent(), RoboSim::RoboAPIImplementor::isAdjacent(), RoboSim::RoboAPIImplementor::meleeAttack(), RoboSim::RoboAPIImplementor::pick_up_capsule(), RoboSim::RoboAPIImplementor::rangedAttack(), robot_api::RoboSimExecutionException::RoboSimExecutionException(), RoboSim::RoboAPIImplementor::scanEnemy(), and RoboSim::RoboAPIImplementor::setBuildTarget().
| int robot_api::GridCell::y_coord | 
Y-coordinate of cell.
Definition at line 80 of file robot_api.hpp.
Referenced by RoboSim::RoboAPIImplementor::capsuleAttack(), RoboSim::RoboAPIImplementor::charge(), RoboSim::RoboAPIImplementor::drop_capsule(), robot_api::RobotUtility::findShortestPathInternal(), RoboSim::RoboAPIImplementor::getVisibleNeighborhood(), RoboSim::RoboAPIImplementor::getWorld(), DemoBot::isAdjacent(), RoboSim::RoboAPIImplementor::isAdjacent(), RoboSim::RoboAPIImplementor::meleeAttack(), RoboSim::RoboAPIImplementor::pick_up_capsule(), RoboSim::RoboAPIImplementor::rangedAttack(), robot_api::RoboSimExecutionException::RoboSimExecutionException(), RoboSim::RoboAPIImplementor::scanEnemy(), and RoboSim::RoboAPIImplementor::setBuildTarget().