This project implements a Finite-State-Machine (FSM) as a PCL (portable class library) designed to be used in games.
 Furthermore it implements even a Stack-Based-FSM (SBFSM). So you may tell it to 'continue with the last state before the active one'.
 You describe your FSM using a nice and well documented DSL (Domain Specific Language).

     This replaces the code we usually had for keyboard-input (run-left-right-duck-jump), clicked buttons on the GUI (idle-over-down-refreshing), tower-states (idle-aiming-firing-reloading) or for the connection procedure when setting up peer2peer connections in our games....

Install-Package StateMachine -Version
dotnet add package StateMachine --version
<PackageReference Include="StateMachine" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StateMachine --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

Version History

Version Downloads Last updated 320 2/13/2018 203 1/27/2018 208 1/19/2018 202 9/20/2017 173 9/9/2017 242 9/3/2017