Example #1
0
 public void SaveCheckpoint(GameMemento currentState)
 {
     History.Push(currentState);
 }
Example #2
0
 private void RestoreState(GameMemento gameControllerMemento)
 {
     Robot   = gameControllerMemento.Robot;
     GameMap = gameControllerMemento.GameMap;
 }