Adds a boolean 'inMenu' in the game class and checks if its true to decide whether to process Menu events or events for the actual gameplay