Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function gameLoop() {
- if (gameState == "IN_MENU") {
- renderMenu();
- processInput_Menu();
- update_Menu();
- }
- if (gameState == "IN_PLAY") {
- renderGameEntities(levelNumber);
- processInput_Game();
- update_Game();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement