JakeDarling/magicflight — pull request #6 by DeanTuesday (2014-11-27 18:45:01+00:00)
Title: changed in-game restart, fixed Begin state, changed MainMenuStates

Changes

Assets: Slowly removing public static assets as I come across them.

GameScreen: Removed unnecessary Timer methods, reorganized method locations to make more sense, getting rid of all viewports as they are unnecessary, now properly restarts upon clicking restart in the pause menu by going to the TapToStart screen, removed any methods that had to deal with GameStates as they should belong in their own class.

Settings: Self explanatory. No idea why I made DEFAULT part of the enum

Begin: made it so the game update method stops calling the resize and relocate methods on the traffic light, made it so the image only changes when necessary (before it was setting itself on every single frame wasting by calling unnecessary functions)

Ready: changed game-state Ready to "TapToStart" for clarification

MainMenuStates: removed update and draw functions from all main menu states as they are taken care of by the MainMenuScreen. The states are ONLY there to update the stage containing a particular menu.