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