#state-machine #gamedev #brackets #terminal #states #bracket-lib

bracket-state-machine

State management library for bracket-lib terminal

2 unstable releases

0.2.0 Sep 10, 2022
0.1.0 Sep 9, 2022

#836 in Game dev

MIT license

18KB
154 lines

Welcome to bracket-state-machine

Compatible Bracket Terminal versions

Compatibility of bevy_state_machine versions:

bracket-state-machine bracket-terminal
bracket-main main
main 0.8.5

Using bracket-state-machine

In your Cargo.toml file, include:

[dependencies]
bracket-state-machine = "0.1"

If you wish to ultilize the git branch of bracket-terminal, just use the bracket-main branch

[dependencies]
bracket-state-machine = {git = "https://github.com/lecoqjacob/bracket-state-machine", branch = "bracket-main"}

Feature Flags

This crate supports all feature flags of bracket-terminal

Examples

  • basic basic demonstartion of the state machine in action. It switches between two states.

Dependencies

~10–24MB
~222K SLoC