コード例 #1
0
 // constructors------------------------------------------------------------
 internal RoomThread(RoomManager roomMgr)
 {
     room_mgr_ = roomMgr;
     cur_thread_id_ = thread_id_creator_++;
     tick_interval_ = 100;
     max_room_count_ = 0;
     active_room_ = new List<Room>();
     unused_room_ = new List<Room>();
     room_pool_ = new RoomPool();
     scene_pool_ = new ScenePool();
 }
コード例 #2
0
 // constructors------------------------------------------------------------
 internal RoomThread(RoomManager roomMgr)
 {
     room_mgr_       = roomMgr;
     cur_thread_id_  = thread_id_creator_++;
     tick_interval_  = 100;
     max_room_count_ = 0;
     active_room_    = new List <Room>();
     unused_room_    = new List <Room>();
     room_pool_      = new RoomPool();
     scene_pool_     = new ScenePool();
 }