Пример #1
0
 public static void CommittPlaceArmiesMove(BotOrderDeploy placeArmiesMove, BotTerritory.DeploymentType type)
 {
     if (type == BotTerritory.DeploymentType.Normal)
     {
         placeArmiesMove.Territory.Deployment.Add(placeArmiesMove);
     }
     else if (type == BotTerritory.DeploymentType.Conservative)
     {
         placeArmiesMove.Territory.ConservativeDeployment.Add(placeArmiesMove);
     }
 }
Пример #2
0
 private GameOrder Convert(BotOrderDeploy o)
 {
     return(GameOrderDeploy.Create(o.PlayerID, o.Armies, o.Territory.ID, false));
 }
Пример #3
0
 public static void CommittPlaceArmiesMove(BotOrderDeploy placeArmiesMove)
 {
     placeArmiesMove.Territory.Deployment.Add(placeArmiesMove);
 }