Public Member Functions | |
Object | clone () throws CloneNotSupportedException |
Public Attributes | |
int | x_coord |
int | y_coord |
GridObject | contents |
Direction | fort_orientation |
int | capsule_power |
Represents cell in grid of simulator's world.
Definition at line 80 of file Robot.java.
Object Robot.GridCell.clone | ( | ) | throws CloneNotSupportedException |
override clone and make it public (to implement Cloneable)
Definition at line 98 of file Robot.java.
int Robot.GridCell.capsule_power |
power of capsule, if there is a capsule in the cell.
Definition at line 95 of file Robot.java.
GridObject Robot.GridCell.contents |
contents of cell.
Definition at line 89 of file Robot.java.
Referenced by RoboSim.RoboAPIImplementor.charge(), RoboSim.RoboAPIImplementor.drop_capsule(), RoboSim.RoboAPIImplementor.meleeAttack(), RoboSim.RoboAPIImplementor.pick_up_capsule(), RoboSim.sanitizeGrid(), RoboSim.RoboAPIImplementor.scanEnemy(), and RoboSim.RoboAPIImplementor.setBuildTarget().
Direction Robot.GridCell.fort_orientation |
orientation of fort, if there is a fort in the cell.
Definition at line 92 of file Robot.java.
int Robot.GridCell.x_coord |
X-coordinate of cell.
Definition at line 83 of file Robot.java.
Referenced by ManualBot.act(), RoboSim.RoboAPIImplementor.capsuleAttack(), RoboSim.RoboAPIImplementor.charge(), RoboSim.RoboAPIImplementor.drop_capsule(), DemoBot.isAdjacent(), RoboSim.RoboAPIImplementor.isAdjacent(), RoboSim.RoboAPIImplementor.meleeAttack(), RoboSim.RoboAPIImplementor.pick_up_capsule(), RoboSim.RoboAPIImplementor.rangedAttack(), RoboSim.RoboAPIImplementor.scanEnemy(), and RoboSim.RoboAPIImplementor.setBuildTarget().
int Robot.GridCell.y_coord |
Y-coordinate of cell.
Definition at line 86 of file Robot.java.
Referenced by ManualBot.act(), RoboSim.RoboAPIImplementor.capsuleAttack(), RoboSim.RoboAPIImplementor.charge(), RoboSim.RoboAPIImplementor.drop_capsule(), RoboSim.RoboAPIImplementor.meleeAttack(), RoboSim.RoboAPIImplementor.pick_up_capsule(), RoboSim.RoboAPIImplementor.rangedAttack(), RoboSim.RoboAPIImplementor.scanEnemy(), and RoboSim.RoboAPIImplementor.setBuildTarget().