Beispiel #1
0
 public GuardianRoomDoor(DoorFacing facing) : base(facing)
 {
     if (m_Region == null)
     {
         m_Region = new GuardianRoomRegion(this);
         m_Region.Register();
     }
 }
Beispiel #2
0
            public override void Deserialize(GenericReader reader)
            {
                base.Deserialize(reader);

                int version = reader.ReadEncodedInt();

                Locked = false;

                if (m_Region == null)
                {
                    m_Region = new GuardianRoomRegion(this);
                    m_Region.Register();
                }
            }
Beispiel #3
0
 public PoisonRoomTimer(GuardianRoomRegion room) : base(TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(1))
 {
     m_Room  = room;
     m_Count = 0;
 }