Exemplo n.º 1
0
 public void Destruct()
 {
     m_sync_client.Destruct();
     m_sync_client = null;
     m_render_world.Destruct();
     m_render_world = null;
     m_logic_world.Destruct();
     m_logic_world = null;
 }
Exemplo n.º 2
0
        public void Initializa(long local_player_pstid)
        {
            m_local_player_pstid = local_player_pstid;
            m_state       = TestCombatClientState.Loading;
            m_waiting_cnt = 0;

            m_logic_world  = new TestLogicWorld(this, true);
            m_render_world = new TestRenderWorld(this, m_logic_world);
            m_sync_client  = new MNLPSyncClient();
            m_sync_client.Init(m_logic_world);

            ++m_waiting_cnt;
            m_render_world.LoadScene();
        }