public void pausedHelper() {
    	// Pressing escape again quits the game. Enter, space or P unpauses.
    	if (input.get("enter") || input.get("action")) {
    		unpause();
    	} else if (input.get("escape")) {
    		gameOver();
    	}
    }