public class GameEventRoll extends GameEvent
GameManager,
cvs GameEventRoll.javaGameEvent.Life, GameEvent.Type| Modifier and Type | Field and Description |
|---|---|
protected int[] |
dice |
playerName, who| Constructor and Description |
|---|
GameEventRoll() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDice()
Return the two dice rolled in this event
|
GameEvent.Life |
getLife()
Get the Life type of this GameEvent
|
GameEvent.Type |
getType()
Get the Type of this GameEvent
|
void |
parse(java.lang.String s) |
java.lang.String |
toString() |
getDepth, getPlayerName, getWho, setPlayerName, setWhopublic GameEvent.Type getType()
GameEventpublic GameEvent.Life getLife()
GameEventpublic int[] getDice()
public void parse(java.lang.String s)
public java.lang.String toString()
toString in class java.lang.Object