We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
js/game/game.js
js/game/preloader.js
GameStates
preloader.js
To improve readability and make this hierarchy more visible by looking at the files, I'd suggest to...
/js/game/GameStates.js
js/game/GameStates.Preloader.js
js/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?
game
States
The text was updated successfully, but these errors were encountered:
initial commit
c3c56e7
No branches or pull requests
Currently the game states are defined in
js/game/game.js
andjs/game/preloader.js
. Plus theGameStates
variable is defined insidepreloader.js
.To improve readability and make this hierarchy more visible by looking at the files, I'd suggest to...
GameStates
variable out fromjs/game/preloader.js
and onto a new file called/js/game/GameStates.js
js/game/preloader.js
tojs/game/GameStates.Preloader.js
js/game/game.js
tojs/game/GameStates.Game.js
I reckon that so many
game
in the paths can be tedious. I'd go even further and suggest just usingStates
where it saysGameStates
. What do you think?The text was updated successfully, but these errors were encountered: