Class EffectEngine

Namespace
SurvivorsMaker.Core
Assembly
SurvivorsMaker.Core.dll

Built-in apply/undo rules for each EffectMethod.

public static class EffectEngine
Inheritance
EffectEngine
Inherited Members

Methods

Apply(Effect, EffectStore)

Applies one built-in effect to a store and returns the captured undo token.

public static AppliedEffect Apply(Effect effect, EffectStore store)

Parameters

effect Effect
store EffectStore

Returns

AppliedEffect

Undo(AppliedEffect, EffectStore)

Reverses a prior application from its token rather than reevaluating the original effect.

public static void Undo(AppliedEffect applied, EffectStore store)

Parameters

applied AppliedEffect
store EffectStore