protected virtual void OnLand(LandEventArgs e) { EventHandler <LandEventArgs> handler = ShipLanded; }
private void ShipLand(object sender, LandEventArgs e) { Console.WriteLine(" Ship id: {0} landed ", e.ship_id); }
private void OnLandCall(int ship_id) { LandEventArgs args = new LandEventArgs(); OnLand(args); }