Skip to content

0.6.0

Compare
Choose a tag to compare
@CrissNamon CrissNamon released this 27 Jan 11:07
· 21 commits to dev since this release
39e257a

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