Class CountConstraint
Keeps track of the number of tiles in a given set, and ensure it is less than / more than a given number.
Note
This class is available only in Tessera Pro
Namespace: Tessera
Assembly: cs.temp.dll.dll
Syntax
public class CountConstraint : TesseraConstraint
Fields
comparison
Declaration
public CountComparison comparison
Field Value
Type | Description |
---|---|
CountComparison |
count
The count to be compared against.
Declaration
public int count
Field Value
Type | Description |
---|---|
Int32 |
eager
If set, this constraint will attempt to pick tiles as early as possible. This can give a better random distribution, but higher chance of contradictions.
Declaration
public bool eager
Field Value
Type | Description |
---|---|
Boolean |
tiles
The set of tiles to count
Declaration
public List<TesseraTileBase> tiles
Field Value
Type | Description |
---|---|
List<TesseraTileBase> |