Class ManualDoorModeGrid2D
Represents a manual door mode which consists of a list of doors provided by the user.
Inheritance
System.Object
ManualDoorModeGrid2D
Namespace: Edgar.GraphBasedGenerator.Grid2D
Assembly: Edgar.dll
Syntax
public class ManualDoorModeGrid2D : Object, IDoorModeGrid2D, IDoorMode<DoorLineGrid2D, PolygonGrid2D>
Constructors
ManualDoorModeGrid2D(List<DoorGrid2D>)
Declaration
public ManualDoorModeGrid2D(List<DoorGrid2D> doors)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<DoorGrid2D> | doors | See the Doors property. |
Properties
Doors
List of available doors.
Declaration
public List<DoorGrid2D> Doors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DoorGrid2D> |
Methods
GetDoors(PolygonGrid2D)
Declaration
public List<DoorLineGrid2D> GetDoors(PolygonGrid2D roomShape)
Parameters
Type | Name | Description |
---|---|---|
PolygonGrid2D | roomShape |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<DoorLineGrid2D> |