Show / Hide Table of Contents

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

Inheritance
Object
TesseraConstraint
CountConstraint
Namespace: Tessera
Assembly: cs.temp.dll.dll
Syntax
public class CountConstraint : TesseraConstraint

Fields

comparison

How to compare the count of tiles to count.

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<TesseraTile> tiles
Field Value
Type Description
List<TesseraTile>
Back to top Generated by DocFX