Table of Contents

Class StateProvider

Namespace
RandomizerCore.Logic.StateLogic
Assembly
RandomizerCore.dll

A LogicInt which can provide an input state to its logic branch, if not preceded by any state-valued terms.

public abstract class StateProvider : LogicInt, ILogicInt, IStateProvider, ILogicVariable
Inheritance
StateProvider
Implements
Derived
Inherited Members

Methods

GetInputState(object?, ProgressionManager)

Gets the collection of states which should be fed into the conjunction containing this variable.

public abstract StateUnion? GetInputState(object? sender, ProgressionManager pm)

Parameters

sender object
pm ProgressionManager

Returns

StateUnion

GetValue(object?, ProgressionManager)

public override int GetValue(object? sender, ProgressionManager pm)

Parameters

sender object
pm ProgressionManager

Returns

int