Beispiel #1
0
        public void OnOutOfFuelEvent(Point currShipLocation)
        {
            ShipEventArgs sea = new ShipEventArgs(currShipLocation);

            if (OutOfFuelEvent != null)
            {
                OutOfFuelEvent(this, sea);
            }
        }
Beispiel #2
0
 public void OutOfFuelEventHandler(object o, ShipEventArgs e)
 {
     shipLocation = e.ShipLocation;
     updateCurrentLocation();
     //botCurrentLocation = e.ShipLocation;
 }
Beispiel #3
0
 public void OnOutOfFuelEvent(Point currShipLocation)
 {
     ShipEventArgs sea = new ShipEventArgs(currShipLocation);
        if (OutOfFuelEvent != null)
        OutOfFuelEvent(this, sea);
 }
Beispiel #4
0
 public void OutOfFuelEventHandler(object o, ShipEventArgs e)
 {
     shipLocation = e.ShipLocation;
     updateCurrentLocation();
     //botCurrentLocation = e.ShipLocation;
 }