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