public class GameEventFirstRoll extends GameEventRoll
You rolled 3, BlunderBot_X rolled 2
"GameManager
,
cvs GameEventFirstRoll.javaGameEvent.Life, GameEvent.Type
dice
playerName, who
Constructor and Description |
---|
GameEventFirstRoll() |
Modifier and Type | Method and Description |
---|---|
GameEvent.Life |
getLife()
Get the Life type of this GameEvent
|
java.lang.String[] |
getPlayerNames()
Return the player names of this event
|
GameEvent.Type |
getType()
Get the Type of this GameEvent
|
void |
parse(java.lang.String s)
Parse the first roll string.
|
java.lang.String |
toString()
Return a debug string of this event
|
getDice
getDepth, getPlayerName, getWho, setPlayerName, setWho
public GameEvent.Type getType()
GameEvent
getType
in class GameEventRoll
public GameEvent.Life getLife()
GameEvent
getLife
in class GameEventRoll
public java.lang.String[] getPlayerNames()
public void parse(java.lang.String s)
parse
in class GameEventRoll
s
- The fibs string to parsepublic java.lang.String toString()
toString
in class GameEventRoll
{player} first-roll 6-6
"