Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 1.4 KB

File metadata and controls

15 lines (14 loc) · 1.4 KB

WFCProgressObserver.OnSelectedModule(Action<SlotModuleSelected>) Method

A callback that executes anytime a slot collapses to a single module possibility. This is a type of WFCProgress, and will execute right after the OnProgress(Action<WFCProgress>) callbacks

public BrewedInk.WFC.WFCProgressObserver OnSelectedModule(System.Action<BrewedInk.WFC.SlotModuleSelected> selection);

Parameters

selection System.Action<SlotModuleSelected>
A callback that takes a general selection. The module isn't typed, so you'll need to type-check it.

Returns

WFCProgressObserver
The same WFCProgressObserver