org.xistrat.net
Class Game
java.lang.Object
org.xistrat.net.Game
public class Game
- extends java.lang.Object
Simple helper class that represents a slot in the available-games array.
It holds a game server F4Daemon and a status flag, along with a GameInfo structure.
- Since:
- 0.5.42
Constructor Summary |
Game()
|
Game(F4Server server,
java.lang.String name,
int id,
int port,
java.lang.String position,
boolean verb,
boolean undo,
java.lang.String komi)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
daemon
public F4Daemon daemon
status
public int status
gameInfo
public org.xistrat.net.GameInfo gameInfo
EMPTY
public static final int EMPTY
- See Also:
- Constant Field Values
NOT_STARTED
public static final int NOT_STARTED
- See Also:
- Constant Field Values
PLAYING
public static final int PLAYING
- See Also:
- Constant Field Values
FINISHED
public static final int FINISHED
- See Also:
- Constant Field Values
Game
public Game(F4Server server,
java.lang.String name,
int id,
int port,
java.lang.String position,
boolean verb,
boolean undo,
java.lang.String komi)
Game
public Game()
setStatus
public void setStatus(int status)
newGame
public void newGame()