Beispiel #1
0
        private void OnShipDestroyedCall(int shipId)
        {
            ShipIdArgs args = new ShipIdArgs();

            args.ShipId = shipId;
            OnShipDestroyed(args);
        }
Beispiel #2
0
        protected virtual void OnShipDestroyed(ShipIdArgs e)
        {
            EventHandler <ShipIdArgs> handler = ShipDestroyed;

            handler?.Invoke(this, e);
        }