コード例 #1
0
 public MyOxygenBlock(MyOxygenRoomLink roomPointer)
 {
     RoomLink             = roomPointer;
     PreviousOxygenAmount = 0;
     OxygenChangeTime     = 0;
 }
コード例 #2
0
 public MyOxygenBlock(MyOxygenRoomLink roomPointer)
 {
     RoomLink = roomPointer;
     PreviousOxygenAmount = 0;
     OxygenChangeTime = 0;
 }
コード例 #3
0
 public void SetDefaults(MyOxygenRoomLink roomPointer)
 {
     RoomLink = roomPointer;
     PreviousOxygenAmount = 0;
     OxygenChangeTime = 0;
 }
コード例 #4
0
 public void Reset()
 {
     if (RoomLink == null) return;
     //RoomLink.Room = null;
     RoomLink = null;
     PreviousOxygenAmount = 0;
     OxygenChangeTime = 0;
 }
コード例 #5
0
 public void give(MyOxygenRoomLink item)
 {
     pool.Deallocate(item);
 }