public Game(string map) { mapSave = map; aliveCreatures = new List <IAliveCreature>(); this.map = CreatureMapCreator.CreateMap(map, aliveCreatures); Add("food"); }
public void Restart() { finishReason = ""; isOver = false; delayedFinish = false; aliveCreatures = new List <IAliveCreature>(); map = CreatureMapCreator.CreateMap(mapSave, aliveCreatures); Add("food"); }