Пример #1
0
 public void Undo(History his)
 {
     cloud = his.Beckup();
     robot.chargeOfRobot = cloud.Battary;
     robot.sumOfCargo    = cloud.Cash;
 }
Пример #2
0
 public void Save(Cloud cloudRobot)
 {
     clouds.Push(cloudRobot);
 }