public void OutOfFuelEventHandler(object sender, ShipEventArgs e)
        {
            // Set the refueler lcoation to be the same as the current ship location
            botCurrentLocation = botShip.ShipLocation;

            botShip.Refuel();
        }
Example #2
0
        public void OutOfFuelEventHandler(object ship, ShipEventArgs shipArgs)
        {
            shipLocation = botShip.getShipLocation();

            botCurrentLocation = shipLocation;

            botShip.Refuel();
        }