Class FixedTileConstraint
Inheritance
FixedTileConstraint
Assembly: DeBroglie.dll
Syntax
public class FixedTileConstraint : ITileConstraint
Properties
|
Edit this page
View Source
Point
Declaration
public Point? Point { get; set; }
Property Value
|
Edit this page
View Source
Tiles
Declaration
public Tile[] Tiles { get; set; }
Property Value
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
GetRandomPoint(TilePropagator, TilePropagatorTileSet)
Declaration
public Point GetRandomPoint(TilePropagator propagator, TilePropagatorTileSet tileSet)
Parameters
Returns
|
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