Esempio n. 1
0
 public GameController(String avatar, String name, GameMap gameMap)
 {
     Robot   = GetRobotForGame(avatar, name);
     GameMap = gameMap;
 }
Esempio n. 2
0
 public GameMemento(Robot robot, GameMap gameMap)
 {
     Robot   = robot;
     GameMap = gameMap;
 }
Esempio n. 3
0
 private void RestoreState(GameMemento gameControllerMemento)
 {
     Robot   = gameControllerMemento.Robot;
     GameMap = gameControllerMemento.GameMap;
 }