Skip to main content

PandoraGenerateRoom

Callable


  • Generates random rooms linked on the entry room


    Parameters

    • EntryRoom: PandoraBaseRoom

      The room object that's leading to that floor

    • DirectionFrom: PandoraFloorDirection

      The entry direction

    • RoomLevel: number

      The room level, the higher it goes, the higher the chances it will be a dead-end

    • MaxRoom: number

      The max number of rooms to generate.

    Returns void

    • Nothing