Show / Hide Table of Contents

Class EdgedPathSpec

Configures pathing where a given set of tiles form the path, and connect adjacently if both have appropriate "exits".

Inheritance
object
EdgedPathSpec
Implements
IPathSpec
Namespace: DeBroglie.Constraints
Assembly: DeBroglie.dll
Syntax
public class EdgedPathSpec : IPathSpec

Properties

| Edit this page View Source

Exits

For each tile on the path, the set of direction values that paths exit out of this tile.

Declaration
public IDictionary<Tile, ISet<Direction>> Exits { get; set; }
Property Value
Type Description
IDictionary<Tile, ISet<Direction>>
| Edit this page View Source

RelevantCells

Set of points that must be connected by paths. If RelevantCells and RelevantTiles are null, then RelevantTiles defaults to the tiles in Exits

Declaration
public Point[] RelevantCells { get; set; }
Property Value
Type Description
Point[]
| Edit this page View Source

RelevantTiles

Set of tiles that must be connected by paths. If RelevantCells and RelevantTiles are null, then RelevantTiles defaults to the tiles in Exits

Declaration
public ISet<Tile> RelevantTiles { get; set; }
Property Value
Type Description
ISet<Tile>
| Edit this page View Source

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

Methods

| Edit this page View Source

MakeView(TilePropagator)

Declaration
public IPathView MakeView(TilePropagator tilePropagator)
Parameters
Type Name Description
TilePropagator tilePropagator
Returns
Type Description
IPathView

Implements

IPathSpec
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX