Esempio n. 1
0
 public GameArea GetMilitaryCampaignArea(Military military)
 {
     GameArea allAvailableArea = this.GetAllAvailableArea(false);
     military.ModifyAreaByTerrainAdaptablity(allAvailableArea);
     return allAvailableArea;
 }
Esempio n. 2
0
 private Point? GetRandomStartingPosition(Military m)
 {
     GameArea allAvailableArea = this.GetAllAvailableArea(false);
     m.ModifyAreaByTerrainAdaptablity(allAvailableArea);
     if (allAvailableArea.Count == 0)
     {
         return null;
     }
     return allAvailableArea[GameObject.Random(allAvailableArea.Count)];
 }