public void update(GameContainer container, StateBasedGame sbg, int delta) throws SlickException {
		int xpos = UIGlobals.convertMouseLocation(Mouse.getX(), container.getWidth());
		int ypos = UIGlobals.convertMouseLocation(Mouse.getY(), container.getHeight());
		
		
		if (Mouse.isButtonDown(0)){
			if (play_button.isOverControl(xpos, ypos)){
				sbg.enterState(UIGlobals.PLAY);
			} else if (online_button.isOverControl(xpos, ypos)){
				sbg.enterState(UIGlobals.ONLINE);
			} else if (settings_button.isOverControl(xpos, ypos)){
				sbg.enterState(UIGlobals.SETTINGS);
			} else if (exit_button.isOverControl(xpos, ypos)){
				System.exit(0);
			}
		} 
	}