public void update() {
		// add support for only updating certain amounts of game time to
		// compensate for lag

		switch (state) {
		case RUNNING:
			// game logic
			Clock.update();

			w.getCurrentLevel().update();
			render_loop.render();

			// end game logic
			break;
		case PAUSED:
			if (Keyboard.getKey(KeyEvent.VK_UP)) {
				menu.move(Menu.direction.UP);
			}
			if (Keyboard.getKey(KeyEvent.VK_DOWN)) {
				menu.move(Menu.direction.DOWN);
			}
			if (Keyboard.getKey(KeyEvent.VK_ENTER)) {
				menu.select();
			}

			break;
		default:

		}
	}