StateMachine<TKey, TState>.

StateMachine(IDictionary<TKey, TState>) Constructor

Summary

Creates a new Animancer.FSM.StateMachine`2 which uses the specified `dictionary`, leaving the CurrentState null.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
StateMachine<TKey, TState>

Syntax

public StateMachine(IDictionary<TKey, TState> dictionary)

Parameters

Name Type Description
dictionary IDictionary<TKey, TState>

Return Value

Type Description
void