Class RoomDescriptionGrid2D
Describes the properties of a single room in a level.
Inheritance
System.Object
RoomDescriptionGrid2D
Implements
Namespace: Edgar.GraphBasedGenerator.Grid2D
Assembly: Edgar.dll
Syntax
public class RoomDescriptionGrid2D : Object, IRoomDescription
Constructors
RoomDescriptionGrid2D(Boolean, List<RoomTemplateGrid2D>)
Declaration
public RoomDescriptionGrid2D(bool isCorridor, List<RoomTemplateGrid2D> roomTemplates)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isCorridor | See the IsCorridor property. |
System.Collections.Generic.List<RoomTemplateGrid2D> | roomTemplates | See the RoomTemplates property. |
Properties
IsCorridor
Whether the room is a corridor or not.
Declaration
public bool IsCorridor { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RoomTemplates
Room templates available for the room.
Declaration
public List<RoomTemplateGrid2D> RoomTemplates { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<RoomTemplateGrid2D> |