wofsauge/IsaacDocs

RoomConfig.Doors value needs to be documented

Closed this issue · 1 comments

It is not simply an int, it is rather a combination of bit flags of the DoorSlotFlag enum, which is defined as follows:

enum DoorSlotFlag {
  LEFT0 = 1 << DoorSlot.LEFT0,
  UP0 = 1 << DoorSlot.UP0,
  RIGHT0 = 1 << DoorSlot.RIGHT0,
  DOWN0 = 1 << DoorSlot.DOWN0,
  LEFT1 = 1 << DoorSlot.LEFT1,
  UP1 = 1 << DoorSlot.UP1,
  RIGHT1 = 1 << DoorSlot.RIGHT1,
  DOWN1 = 1 << DoorSlot.DOWN1,
}

Added with a97f223