示例#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.Armies, o.PlayerID, o.Territory.ID));
 }
示例#3
0
 public static void CommittPlaceArmiesMove(BotOrderDeploy placeArmiesMove)
 {
     placeArmiesMove.Territory.Deployment.Add(placeArmiesMove);
 }