private GameOrder Convert(BotOrderAttackTransfer o) { return(GameOrderAttackTransfer.Create(o.PlayerID, o.From.ID, o.To.ID, AttackTransferEnum.AttackTransfer, false, o.Armies, false)); }
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); }