public class GameEventBoard extends GameEvent
GameManager,
cvs GameEventBoard.javaGameEvent.Life, GameEvent.TypeplayerName, who| Constructor and Description |
|---|
GameEventBoard()
Create an empty Line
|
GameEventBoard(java.lang.String line)
Create a line with these values.
|
| Modifier and Type | Method and Description |
|---|---|
Board |
getBoard()
Return the Board
|
int |
getCheckersToMove()
If this board is your move, then this is the number of checkers to move.
|
GameEvent.Life |
getLife()
Get the Life type of this GameEvent
|
GameEvent |
getPostEvent() |
GameEvent.Type |
getType()
Get the Type of this GameEvent
|
void |
setCheckersToMove(int diceToMove)
Set the number of checkers to move on this board.
|
void |
setPostEvent(GameEvent postEvent) |
java.lang.String |
toString() |
getDepth, getPlayerName, getWho, setPlayerName, setWhopublic GameEventBoard()
public GameEventBoard(java.lang.String line)
line - The line of text received from FIBSpublic GameEvent.Type getType()
GameEventpublic GameEvent.Life getLife()
GameEventpublic Board getBoard()
public int getCheckersToMove()
public void setCheckersToMove(int diceToMove)
diceToMove - the diceToMove to setpublic GameEvent getPostEvent()
public void setPostEvent(GameEvent postEvent)
modEvent - the modEvent to setpublic java.lang.String toString()
toString in class java.lang.Object