![]() |
Rabbit Escape
2017-01-14_18:33:47_+0000__(tag:_v0.10.1)
|
Public Member Functions | |
Position | offset (Position position) |
Static Public Member Functions | |
static CellularDirection | opposite (CellularDirection input) |
Public Attributes | |
UP =( 0, -1 ) | |
RIGHT =( 1, 0 ) | |
DOWN =( 0, 1 ) | |
LEFT =( -1, 0 ) | |
HERE =( 0, 0 ) | |
final int | xOffset |
final int | yOffset |
Private Member Functions | |
CellularDirection (int xOffset, int yOffset) | |
The directions that can be affected by a cell during cellular automation.
|
private |
|
static |
rabbitescape.engine.CellularDirection.DOWN =( 0, 1 ) |
rabbitescape.engine.CellularDirection.HERE =( 0, 0 ) |
rabbitescape.engine.CellularDirection.LEFT =( -1, 0 ) |
rabbitescape.engine.CellularDirection.RIGHT =( 1, 0 ) |
rabbitescape.engine.CellularDirection.UP =( 0, -1 ) |
final int rabbitescape.engine.CellularDirection.xOffset |
final int rabbitescape.engine.CellularDirection.yOffset |