Show / Hide Table of Contents

Class LoopConstraint

Enforces that the entire path is made out of loops, i.e. there are at least two routes between any two connected points.

Inheritance
object
LoopConstraint
Implements
ITileConstraint
Namespace: DeBroglie.Constraints
Assembly: DeBroglie.dll
Syntax
public class LoopConstraint : ITileConstraint

Properties

| Edit this page View Source

PathSpec

Declaration
public IPathSpec PathSpec { get; set; }
Property Value
Type Description
IPathSpec

Methods

| Edit this page View Source

Check(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

| Edit this page View Source

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

Implements

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