-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Currently the game states are defined in js/game/game.js and js/game/preloader.js. Plus the GameStates variable is defined inside preloader.js.
To improve readability and make this hierarchy more visible by looking at the files, I'd suggest to...
- move the definition of the
GameStatesvariable out fromjs/game/preloader.jsand onto a new file called/js/game/GameStates.js - rename
js/game/preloader.jstojs/game/GameStates.Preloader.js - rename
js/game/game.jstojs/game/GameStates.Game.js
I reckon that so many game in the paths can be tedious. I'd go even further and suggest just using States where it says GameStates. What do you think?
Metadata
Metadata
Assignees
Labels
No labels