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