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 OnNetworkMessage_StartLoading(NetworkMessages_StartLoading msg) { m_combat_client = new TestCombatClient(m_network); m_combat_client.Initializa(m_local_player_pstid); for (int i = 0; i < msg.m_player_pstids.Count; ++i) { m_combat_client.AddPlayer(msg.m_player_pstids[i]); } }
public void Destruct() { m_combat_client = null; m_logic_world = null; }