Level - Megasploot/Dungeondraft GitHub Wiki
The Level class represents a map canvas layer (not the same thing as an asset's layer). Best to think of it as a level or floor in a dungeon. Every new level is at a different elevation.
Of course, a user may choose to use a level to separate space in other manners or to conceal objects. It does not strictly have to represent a new floor.
int ID
Gets the number associated with this Level.
FloorTileMap TileMap
Gets the parent class that controls Building Tool textures.
FloorShapes FloorShapes
Gets the parent class that controls Building Tool shapes.
PatternShapes PatternShapes
Gets the parent class that controls Pattern Shapes.
CaveMesh CaveMesh
Gets the parent class that controls the Cave.
Terrain Terrain
Gets the parent class that controls the Terrain.
WaterMesh WaterMesh
Gets the parent class that controls the Water.
Walls Walls
Gets the parent class that controls the Walls.
Call get_children() on this class to return Array of all walls on this level. See Wall.
Node2D Portals
Gets the parent class that controls the Portals. This class is not special to Dungeondraft.
Call get_children() on this class to return Array of all portals on this level. See Portal.
Pathways Pathways
Gets the parent class that controls the Pathways.
Call get_children() on this class to return Array of all paths on this level. See Pathway.
Objects Objects
Gets the parent class that controls the Objects.
Call get_children() on this class to return Array of all objects on this level. See Prop.
Roofs Roofs
Gets the parent class that controls the Roofs.
Call get_children() on this class to return Array of all roofs on this level. See Roof.
Lights Lights
Gets the parent class that controls the Lights.
Call get_children() on this class to return Array of all lights on this level. See Light.
Texts Texts
Gets the parent class that controls the Texts.