Class SymmetryConstraint
Abstract constraint for any sort of global symmetry where
a choice of a tile in an index implies a selection for a specific index elsewhere.
Inheritance
SymmetryConstraint
Assembly: DeBroglie.dll
Syntax
public abstract class SymmetryConstraint : ITileConstraint
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 virtual void Init(TilePropagator propagator)
Parameters
Type |
Name |
Description |
TilePropagator |
propagator |
The propagator to constrain
|
|
Edit this page
View Source
TryMapIndex(TilePropagator, int, out int)
Declaration
protected abstract bool TryMapIndex(TilePropagator propagator, int i, out int i2)
Parameters
Returns
|
Edit this page
View Source
TryMapTile(Tile, out Tile)
Declaration
protected abstract bool TryMapTile(Tile tile, out Tile tile2)
Parameters
Type |
Name |
Description |
Tile |
tile |
|
Tile |
tile2 |
|
Returns
Implements