public TestRenderWorld(TestCombatClient combat_client, TestLogicWorld logic_world) { m_combat_client = combat_client; m_logic_world = logic_world; m_random_generator.ResetSeed((int)(m_combat_client.LocalPlayerPstid)); RandomInterval(); }
public void Destruct() { m_sync_server.Destruct(); m_sync_server = null; m_logic_world.Destruct(); m_logic_world = null; }
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; }
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(); }
public void Destruct() { m_combat_client = null; m_logic_world = null; }
public void Initializa() { m_logic_world = new TestLogicWorld(this, false); m_sync_server = new MNLPSyncServer(); m_sync_server.Init(m_logic_world); }