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