Delegate WaveFunctionCollapser.ReportCollapseResult
This delegate is used to report the final state of a collapse request.
The collapse request cannot directly return the value because coroutines yield-return many values and it is impossible to know if any given yield-return is the last one until after the coroutine completes. The collapser uses a delegate to make handling the result clear and readable.
Namespace: CarbideFunction.Wildtile
Syntax
public delegate void ReportCollapseResult(WaveFunctionCollapser.CollapseResult result);
Parameters
Type | Name | Description |
---|---|---|
WaveFunctionCollapser.CollapseResult | result |