Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
0
 public WanderOrder(StrategyGame game, int sectorId) : this(game, sectorId, StrategyGame.RandomPosition(), PointF.Empty)
 {
 }