public void draw(Graphics g) {
		if (paused) {
			pauseState.draw(g);
		} else if (gameStates[currentState] != null) {
			gameStates[currentState].draw(g);
		}
		if (doAnimate) {
			if (changing) {
				animate(g);
			}
			if (changingPause) {
				animate(g);
			}
		}
	}