@Override
	public void update(int mouseX, int mouseY, boolean pressed)
	{
		if(this.x <= mouseX && mouseX <= this.x+this.width && this.y <= mouseY && mouseY <= this.y+this.height)
			if(pressed)
				this.state = 2;
			else
				this.state = 1;
		else
			this.state = 0;
		super.update(mouseX, mouseY, pressed);
	}