This repository was archived by the owner on Apr 16, 2025. It is now read-only.
0.6.0
What's Changed
- Added StateMachine and BasicStateMachine implementation
- GameStateManager is now deprecated, Game uses StateMachine
- StateMachine allows you to control state with transitions on events, guard and actions
- State machine can save and load state by using StateMachinePersister implementation
- You can provide your own StateMachine for Game to change basic lifecycle, but it won't be triggered automatically
- You can provide StateMachinePersister to save game state. It can be used to save player progress or something else
- Added Slf4j to GameLogger
- Game is now sending GameEvents through BasicGamePublisher