public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); m_Code = reader.ReadUShort(); m_Controller = reader.ReadItem() as LeverPuzzleController; }
public LeverPuzzleStatue(int[] dat, LeverPuzzleController controller) : base(dat[0]) { m_Controller = controller; Hue = 0x44E; Movable = false; }
public LeverPuzzleRegion(LeverPuzzleController controller, int[] loc) : base(null, Map.Malas, Region.Find(LeverPuzzleController.lr_Enter, Map.Malas), new Rectangle2D(loc[0], loc[1], 1, 1)) { Controller = controller; Register(); }
public LampRoomBox(LeverPuzzleController controller) : base(0xe80) { m_Controller = controller; ItemID = 0xe80; Movable = false; }
public LampRoomRegion(LeverPuzzleController controller) : base(null, Map.Malas, Region.Find(LeverPuzzleController.lr_Enter, Map.Malas), LeverPuzzleController.lr_Rect) { Controller = controller; Register(); }