Labyrinth
A labyrinth game assignment
|
Helper C++-like enumerator class to hold direction. More...
Static Package Functions | |
static int | opposite (int direction) |
Utility to get the opposite direction. More... | |
Static Package Attributes | |
static final int | UP =1 |
North direction. More... | |
static final int | RIGHT =3 |
East direction. More... | |
static final int | DOWN =5 |
South direction. More... | |
static final int | LEFT =7 |
West direction. More... | |
Helper C++-like enumerator class to hold direction.
Definition at line 36 of file Common.java.
|
staticpackage |
Utility to get the opposite direction.
direction | Input direction |
Definition at line 47 of file Common.java.
|
staticpackage |
South direction.
Definition at line 39 of file Common.java.
|
staticpackage |
West direction.
Definition at line 40 of file Common.java.
|
staticpackage |
East direction.
Definition at line 38 of file Common.java.
|
staticpackage |
North direction.
Definition at line 37 of file Common.java.