Closed sunreef closed 5 years ago
Sorry for the review mess, I'm new to github 😓 The changes LGTM. A couple of systems were added in the master branch. Would you mind rebasing to integrate those changes?
Ok, I merged the changes from master. But it resulted in a kind of mess of the commit history... Maybe I should clean it up a bit.
I rebased the changes on the current master. See PR #33
When pressing P, the game enters a
PausedState
.To achieve this, I moved all the game system definitions from the
GameDataBuilder
to a dispatcher inside theExampleState
used as the main game state. This way, when switching out ofExampleState
, the systems stop running.This addresses Issue #27
I also added time scaling when pressing
+
and-
(only on main keyboard, not on Numpad).This addresses Issue #28