Class PathSpec
Configures pathing where a given set of tiles form the path, and always connect if adjacent to each other.
Inheritance
object
PathSpec
Implements
Namespace: DeBroglie.Constraints
Assembly: DeBroglie.dll
Syntax
public class PathSpec : IPathSpec
Properties
| Edit this page View SourceRelevantCells
Set of points that must be connected by paths. If RelevantCells and RelevantTiles are null, then RelevantTiles defaults to Tiles
Declaration
public Point[] RelevantCells { get; set; }
Property Value
| Type | Description |
|---|---|
| Point[] |
RelevantTiles
Set of tiles that must be connected by paths. If RelevantCells and RelevantTiles are null, then RelevantTiles defaults to Tiles
Declaration
public ISet<Tile> RelevantTiles { get; set; }
Property Value
| Type | Description |
|---|---|
| ISet<Tile> |
TileRotation
If set, Tiles is augmented with extra copies as dictated by the tile rotations
Declaration
public TileRotation TileRotation { get; set; }
Property Value
| Type | Description |
|---|---|
| TileRotation |
Tiles
Set of tiles that are considered on the path
Declaration
public ISet<Tile> Tiles { get; set; }
Property Value
| Type | Description |
|---|---|
| ISet<Tile> |
Methods
| Edit this page View SourceMakeView(TilePropagator)
Declaration
public IPathView MakeView(TilePropagator tilePropagator)
Parameters
| Type | Name | Description |
|---|---|---|
| TilePropagator | tilePropagator |
Returns
| Type | Description |
|---|---|
| IPathView |