|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttron.TronConstants
public class TronConstants
Some useful constants for the Tron game. April 2010
| Field Summary | |
|---|---|
static int |
CELL_EMPTY
Value of a cell when it is empty. |
static int |
STATE_EMPTY
Required value of an element of the string generated by TronStateUtil.toString() to indicate that a cell is empty. |
static int |
STATE_HEAD
Required value of an element of the string generated by TronStateUtil.toString() to indicate that a cell is the head of a trace. |
static int |
STATE_OBSTACLE
Required value of an element of the string generated by TronStateUtil.toString() to indicate that a cell is an obstacle. |
| Constructor Summary | |
|---|---|
TronConstants()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CELL_EMPTY
public static final int STATE_EMPTY
public static final int STATE_HEAD
public static final int STATE_OBSTACLE
| Constructor Detail |
|---|
public TronConstants()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||