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 1.2.4
dotnet add package StateMachine --version 1.2.4
<PackageReference Include="StateMachine" Version="1.2.4" />
paket add StateMachine --version 1.2.4
#r "nuget: StateMachine, 1.2.4"
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.