예제 #1
0
파일: Ship.cs 프로젝트: algor1/WingServer
        private void OnShipDestroyedCall(int shipId)
        {
            ShipIdArgs args = new ShipIdArgs();

            args.ShipId = shipId;
            OnShipDestroyed(args);
        }
예제 #2
0
파일: Ship.cs 프로젝트: algor1/WingServer
        protected virtual void OnShipDestroyed(ShipIdArgs e)
        {
            EventHandler <ShipIdArgs> handler = ShipDestroyed;

            handler?.Invoke(this, e);
        }