예제 #1
0
 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();
 }
예제 #2
0
 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]);
     }
 }
예제 #3
0
 public void Destruct()
 {
     m_combat_client = null;
     m_logic_world   = null;
 }