internal RoomItem GetItem(uint pId) { if (mFloorItems.ContainsKey(pId)) { return(mFloorItems.GetValue(pId)); } else if (mWallItems.ContainsKey(pId)) { return(mWallItems.GetValue(pId)); } else { return(null); } }
internal RoomItem GetItem(uint pId) { if (mFloorItems.ContainsKey(pId)) { return(mFloorItems.GetValue(pId)); } else if (mWallItems.ContainsKey(pId)) { return(mWallItems.GetValue(pId)); } else { return(null); } }