Namespace Edgar.GraphBasedGenerator.Grid2D
This namespace contains all the functionality related to the graph-based generator that works on the 2D grid.
Classes
DoorGrid2D
Represents a single door of a room template. The door is placed between the From and To points.
DoorLineGrid2D
Represents a door line.
GraphBasedGeneratorGrid2D<TRoom>
Implements a graph-based layout generator that works on the 2D (integer) grid.
LayoutDoorGrid2D<TRoom>
Represents a door between two rooms in the final layout.
LayoutGrid2D<TRoom>
Represents a final layout produced by the generator.
LayoutRoomGrid2D<TRoom>
Represents a single room in the final layout. It contains information about the shape of the room, its position, etc.
LevelDescriptionGrid2D<TRoom>
Describes the structure of a level on the 2D (integer) grid.
ManualDoorModeGrid2D
Represents a manual door mode which consists of a list of doors provided by the user.
RoomDescriptionGrid2D
Describes the properties of a single room in a level.
RoomTemplateGrid2D
Represents a room template - an outline of a room together with all possible door positions.
SimpleDoorModeGrid2D
Mode that is used to generate doors of a specified length on all sides of the polygon. The only condition is that doors are at least CornerDistance tiles far from corners.
Interfaces
IDoorModeGrid2D
Represents a door mode on the 2D (integer) grid. A door mode describes which door positions are available for a room template.