public void Undo(History his) { cloud = his.Beckup(); robot.chargeOfRobot = cloud.Battary; robot.sumOfCargo = cloud.Cash; }
public void Save(Cloud cloudRobot) { clouds.Push(cloudRobot); }