Example #1
0
        public void Stop()
        {
            Debuger.Log();

            m_GameState = FSPGameState.None;

            if (m_Client != null)
            {
                m_Client.Clean();
                m_Client = null;
            }

            m_FrameListener = null;
            m_FrameCtrl.Stop();
            m_FrameBuffer.Clear();
            m_IsRunning = false;

            onGameBegin    = null;
            onRoundBegin   = null;
            onControlStart = null;
            onGameEnd      = null;
            onRoundEnd     = null;
        }