public class GameEventResign extends GameEvent
You want to resign. bucko will win 2 points.
"GameManager
,
cvs GameEventResign.javaGameEvent.Life, GameEvent.Type
playerName, who
Constructor and Description |
---|
GameEventResign() |
Modifier and Type | Method and Description |
---|---|
GameEvent.Life |
getLife()
Get the Life type of this GameEvent
|
int |
getResigningPoints()
Get how many points this resign event is for
|
GameEvent.Type |
getType()
Get the Type of this GameEvent
|
void |
parse(java.lang.String s,
Board b)
Parse the string that created this GameEvent.
|
getDepth, getPlayerName, getWho, setPlayerName, setWho
public GameEvent.Type getType()
GameEvent
public GameEvent.Life getLife()
GameEvent
public int getResigningPoints()
public void parse(java.lang.String s, Board b)
dickbalaska wants to resign. bucko will win 1 point.
s
- The FIBS stringb
- The Board prior to this resign (used to determine which player is resigning)