public class GameInfo extends java.lang.Object implements ConstGameInfo
Constructor and Description |
---|
GameInfo() |
GameInfo(ConstGameInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(ConstGameInfo info) |
boolean |
equals(java.lang.Object object) |
java.lang.String |
get(StringInfo type) |
java.lang.String |
get(StringInfoColor type,
GoColor c) |
int |
getHandicap() |
Komi |
getKomi()
Get komi.
|
TimeSettings |
getTimeSettings() |
int |
hashCode()
Hash code dummy function (don't use).
|
boolean |
isEmpty() |
Score.ScoringMethod |
parseRules()
Try to parse rules.
|
void |
set(StringInfoColor type,
GoColor c,
java.lang.String value) |
void |
set(StringInfo type,
java.lang.String value) |
void |
setHandicap(int handicap) |
void |
setKomi(Komi komi) |
void |
setTimeSettings(TimeSettings timeSettings)
Set time settings.
|
java.lang.String |
suggestGameName()
Suggest a game name from the player names.
|
public GameInfo()
public GameInfo(ConstGameInfo info)
public final void copyFrom(ConstGameInfo info)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.lang.String get(StringInfo type)
get
in interface ConstGameInfo
public java.lang.String get(StringInfoColor type, GoColor c)
get
in interface ConstGameInfo
public int getHandicap()
getHandicap
in interface ConstGameInfo
public Komi getKomi()
getKomi
in interface ConstGameInfo
public TimeSettings getTimeSettings()
getTimeSettings
in interface ConstGameInfo
public int hashCode()
hashCode
in class java.lang.Object
public boolean isEmpty()
public Score.ScoringMethod parseRules()
parseRules
in interface ConstGameInfo
public void set(StringInfo type, java.lang.String value)
public void set(StringInfoColor type, GoColor c, java.lang.String value)
public void setHandicap(int handicap)
public void setKomi(Komi komi)
public void setTimeSettings(TimeSettings timeSettings)
public java.lang.String suggestGameName()
suggestGameName
in interface ConstGameInfo