| Crates.io | obel_statechart |
| lib.rs | obel_statechart |
| version | 0.0.9 |
| created_at | 2025-01-26 12:56:08.059926+00 |
| updated_at | 2025-02-01 04:23:52.551487+00 |
| description | Provides statechart plugin to implement complex game logics eg, behavior tree |
| homepage | https://takulatech.net |
| repository | https://github.com/takula-tech/nita-obel |
| max_upload_size | |
| id | 1531314 |
| size | 6,443 |
You can think of statechart(SC) as kind of event-driven behavior tree (BT). But actually SC is more powerful and has more benefits than traditional BT.
This impls of SC is ported from well-known statechart JS implementation - XState. For more details on statechart, please refer to the xstate docs.
A Statechart (SC) is an advanced form of event-driven Behavior Tree (BT) that offers enhanced capabilities and flexibility. This implementation is based on XState, a popular JavaScript statechart library. For comprehensive documentation, visit the XState documentation.
The Statechart Component (SCCmpt) is composed of four main components:
Context Component
State Node Component
Incoming Mailbox Component
Outgoing Mailbox Component
Functionality:
Concurrency Features: