Exemple #1
0
 public GameManager(Statistics statistics, Settings settings, bool init = true)
 {
     Turn = 0;
     GameEnded = false;
     CurrentPhase = EPhase.Deploy;
     Actions = new List<IAction>();
     Log = new ActionLogger(this);
     Countries = new TerrainGenerator().Generate();
     this.statistics = statistics;
     if (init) Initialize(settings);
 }
Exemple #2
0
 public GameManager(Statistics statistics, Settings settings, bool init = true)
 {
     Turn            = 0;
     GameEnded       = false;
     CurrentPhase    = EPhase.Deploy;
     Actions         = new List <IAction>();
     Log             = new ActionLogger(this);
     Countries       = new TerrainGenerator().Generate();
     this.statistics = statistics;
     if (init)
     {
         Initialize(settings);
     }
 }