|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines the properties expected to be defined in each GamePiece
| Field Summary | |
static java.lang.String |
EVENT_FILTER
If non-null, then return an instance of EventFilter. |
static java.lang.String |
HIDDEN_BY
If a piece is hidden to other players, return a STring identifying the player who hit it |
static java.lang.String |
IGNORE_GRID
Return Boolean.TRUE if the piece should ignore map grids when being moved |
static java.lang.String |
INNER
If this piece is a Decorator, return the decorated piece |
static java.lang.String |
INVISIBLE_TO_ME
Return Boolean.TRUE if the piece cannot be seen by the user |
static java.lang.String |
INVISIBLE_TO_OTHERS
|
static java.lang.String |
KEY_COMMANDS
Return a KeyCommand[] object representing the popup menu equivalencies for the key commands recognized by this piece |
static java.lang.String |
MOVED
Return Boolean.TRUE if this piece has been moved |
static java.lang.String |
NO_STACK
Return Boolean.TRUE if the piece does not form stacks |
static java.lang.String |
OBSCURED_BY
If a piece is obscured to other players, return a String identifying the player who obscured it |
static java.lang.String |
OBSCURED_TO_ME
Return Boolean.TRUE if the piece's identity is not known to the user |
static java.lang.String |
OBSCURED_TO_OTHERS
Return Boolean.TRUE if the piece's identity is not known to other players |
static java.lang.String |
OUTER
If this piece decorated by a Decorator, return the Decorator |
static java.lang.String |
RESTRICTED
Return Boolean.TRUE if this piece has Restricted Access |
static java.lang.String |
SELECTED
Return Boolean.TRUE if the piece has been marked as selected |
static java.lang.String |
SNAPSHOT
Used to store a duplicate of the target piece at some point in time |
static java.lang.String |
TERRAIN
Return Boolean.TRUE if the piece behaves more like a terrain feature than a playing piece |
static java.lang.String |
USE_UNROTATED_SHAPE
If Boolean.TRUE, then the shape returned by GamePiece.getShape() is the shape of the piece
when not rotated. |
| Field Detail |
public static final java.lang.String INVISIBLE_TO_ME
public static final java.lang.String INVISIBLE_TO_OTHERS
public static final java.lang.String OBSCURED_TO_OTHERS
public static final java.lang.String OBSCURED_TO_ME
public static final java.lang.String OBSCURED_BY
GameModule.getUserId()public static final java.lang.String EVENT_FILTER
EventFilter.
The piece will not respond to events if the filter rejects thempublic static final java.lang.String HIDDEN_BY
GameModule.getUserId()public static final java.lang.String TERRAIN
public static final java.lang.String IGNORE_GRID
public static final java.lang.String NO_STACK
public static final java.lang.String SELECTED
public static final java.lang.String KEY_COMMANDS
public static final java.lang.String INNER
public static final java.lang.String OUTER
public static final java.lang.String RESTRICTED
public static final java.lang.String MOVED
public static final java.lang.String SNAPSHOT
public static final java.lang.String USE_UNROTATED_SHAPE
GamePiece.getShape() is the shape of the piece
when not rotated.FreeRotator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||