public void Pause() { Iteration.Stop(); JsonManipulator json = new JsonManipulator(); json.SaveToFile(Updates); }
public void ContinueGame() { JsonManipulator json = new JsonManipulator(); List <FieldUpdate> ReadUpdates = new List <FieldUpdate>(); foreach (var item in json.ReadFromFile()) { ReadUpdates.Add(new FieldUpdate(item)); } StartGameIteration(ReadUpdates); }