@Override
	public void update(GameContainer gc, int i) throws SlickException
	{
		if (gc.getInput().isKeyDown(Keyboard.KEY_ESCAPE))
		{
			gc.exit();
			Sound.kill();
			System.exit(0);
		}
		if(gc.getInput().isKeyPressed(Keyboard.KEY_W))
		{
			cursor.moveUp(1);
		}
		if(gc.getInput().isKeyPressed(Keyboard.KEY_A))
		{
			cursor.moveLeft(1);
		}
		if(gc.getInput().isKeyPressed(Keyboard.KEY_S))
		{
			cursor.moveDown(1);
		}
		if(gc.getInput().isKeyPressed(Keyboard.KEY_D))
		{
			cursor.moveRight(1);
		}
	}