Пример #1
0
 public static void PopulateLevel1Hex(Hex hex)
 {
     hex.AddRandomPopSquare(RandomGenerator.GetInt(1, 2), false);
     hex.AddRandomPopSquare(RandomGenerator.GetInt(0, 2), true);
 }
Пример #2
0
 public void PopulateLevel3Hex(Hex hex)
 {
     var normalPop = RandomGenerator.GetInt(new List<int> { 2, 11, 4 });
     var advancedPop = RandomGenerator.GetInt(new List<int> { 9, 8 });
     hex.AddRandomPopSquare(normalPop, false);
     hex.AddRandomPopSquare(advancedPop, true);
     var discoveryTokens = RandomGenerator.GetInt(new List<int> { 8, 9 });
     hex.AddDiscoveryToken(discoveryTokens);
     var ancients = RandomGenerator.GetInt(new List<int> {14, 3, 1 });
     hex.AddAncientShip(ancients);
 }