Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.98 KB

File metadata and controls

20 lines (18 loc) · 1.98 KB

WFCProgressObserver.OnSelectedModule<TModule>(Action<Slot,TModule>) 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<TModule>(System.Action<BrewedInk.WFC.Slot,TModule> selection);

Type parameters

TModule
the type of module this callback applies for.

Parameters

selection System.Action<Slot,TModule>
A callback that takes a slot and typed module. This callback only fires when a module of the given type is selected

Returns

WFCProgressObserver
The same WFCProgressObserver