public class GameEventAcceptAndWin extends GameEvent
GameManager,
cvs GameEventAcceptAndWin.javaGameEvent.Life, GameEvent.TypeplayerName, who| Constructor and Description |
|---|
GameEventAcceptAndWin() |
| 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.
|
void |
setResigningPoints(int resigningPoints)
Set how many points this resign event is for
|
getDepth, getPlayerName, getWho, setPlayerName, setWhopublic GameEvent.Type getType()
GameEventpublic GameEvent.Life getLife()
GameEventpublic int getResigningPoints()
public void setResigningPoints(int resigningPoints)
resigningPoints - the resigningPoints to setpublic void parse(java.lang.String s,
Board b)
dickbalaska accepts and wins 3 points.s - The FIBS stringb - The Board prior to this resign (used to determine which player is resigning)