public static class Robot.GridCell
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
int |
capsule_power
power of capsule, if there is a capsule in the cell.
|
Robot.GridObject |
contents
contents of cell.
|
Robot.Direction |
fort_orientation
orientation of fort, if there is a fort in the cell.
|
int |
x_coord
X-coordinate of cell.
|
int |
y_coord
Y-coordinate of cell.
|
| Constructor and Description |
|---|
Robot.GridCell() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
override clone and make it public (to implement Cloneable)
|
public int x_coord
public int y_coord
public Robot.GridObject contents
public Robot.Direction fort_orientation
public int capsule_power