Beispiel #1
0
        private void OnLandCall(int ship_id)
        {
            LandEventArgs args = new LandEventArgs();

            args.ship_id = ship_id;
            OnLand(args);
        }
Beispiel #2
0
        protected virtual void OnLand(LandEventArgs e)
        {
            EventHandler <LandEventArgs> handler = ShipLanded;

            handler?.Invoke(this, e);
        }
Beispiel #3
0
 protected virtual void OnLand(LandEventArgs e)
 {
     EventHandler <LandEventArgs> handler = ShipLanded;
 }