public interface GameState
Modifier and Type | Method and Description |
---|---|
GameState |
cloneState()
Clone the game state creating a (deep) copy of it that can be modified
We use this to clone the initial game state so we can restart from there
and replay transactions
|
JSONObject |
serialize()
Create a serialized form of the game state that later can be recreated
|
JSONObject serialize()
GameStateFactory
GameState cloneState()