예제 #1
0
        public override void Update(Ship ship)
        {
            base.Update(ship);

            // Keep repeating go to another random Pos
            if (OrderComplete)
            {
                OrderPosition = StrategyGame.RandomPosition();

                OrderComplete = false;
            }
        }
예제 #2
0
 public WanderOrder(StrategyGame game, int sectorId) : this(game, sectorId, StrategyGame.RandomPosition(), PointF.Empty)
 {
 }