Class AcyclicConstraint
Enforces that there are no loops at all
Implements
Namespace: DeBroglie.Constraints
Assembly: DeBroglie.dll
Syntax
public class AcyclicConstraint : ITileConstraint
Properties
| Edit this page View SourcePathSpec
Declaration
public IPathSpec PathSpec { get; set; }
Property Value
Type | Description |
---|---|
IPathSpec |
Methods
| Edit this page View SourceCheck(TilePropagator)
Called frequently during generation to help maintain the constraint.
Declaration
public void Check(TilePropagator propagator)
Parameters
Type | Name | Description |
---|---|---|
TilePropagator | propagator | The propagator to constrain |
Init(TilePropagator)
Called once when the propagator first initializes.
Declaration
public void Init(TilePropagator propagator)
Parameters
Type | Name | Description |
---|---|---|
TilePropagator | propagator | The propagator to constrain |