Class Game
- java.lang.Object
-
- org.swtpra1.alphabetaplayer.hippolyta.model.Game
-
public class Game extends java.lang.Object
configuration and state of an amazonen game
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Integer
id
Board
initialBoard
java.lang.Long
maxTurnTime
java.util.List<Player>
players
java.lang.String
status
java.util.List<Turn>
turns
java.lang.Integer
winningPlayer
-
Constructor Summary
Constructors Constructor Description Game()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Game
copy()
boolean
equals(java.lang.Object o)
java.lang.String
toString()
-
-
-
Field Detail
-
id
@SerializedName("gameId") public java.lang.Integer id
-
players
@SerializedName("players") public java.util.List<Player> players
-
initialBoard
@SerializedName("initialBoard") public Board initialBoard
-
maxTurnTime
@SerializedName("maxTurnTime") public java.lang.Long maxTurnTime
-
turns
@SerializedName("turns") public java.util.List<Turn> turns
-
winningPlayer
@SerializedName("winningPlayer") public java.lang.Integer winningPlayer
-
status
@SerializedName("status") public java.lang.String status
-
-
Method Detail
-
copy
public Game copy()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-