Beispiel #1
0
        // S_Shutdown (void)
        public static void Shutdown()
        {
            if (!_Controller.IsInitialized)
            {
                return;
            }

            if (_shm != null)
            {
                _shm.gamealive = false;
            }

            _Controller.Shutdown();
            _shm = null;
        }
Beispiel #2
0
    public static void S_Shutdown()
    {
        if (!sound_controller.IsInitialized)
        {
            return;
        }

        if (shm != null)
        {
            shm.gamealive = false;
        }

        sound_controller.Shutdown();
        shm = null;
    }