Пример #1
0
 private GameOrder Convert(BotOrderAttackTransfer o)
 {
     return(GameOrderAttackTransfer.Create(o.PlayerID, o.From.ID, o.To.ID, AttackTransferEnum.AttackTransfer, false, o.Armies, false));
 }
Пример #2
0
 public static void CommittAttackTransferMove(BotMain state, BotOrderAttackTransfer attackTransferMove)
 {
     attackTransferMove.From.OutgoingMoves.Add(attackTransferMove);
     attackTransferMove.To.IncomingMoves.Add(attackTransferMove);
     state.MapUpdater.UpdateMap(attackTransferMove, state.WorkingMap, BotTerritory.DeploymentType.Normal);
 }