@Override
	public boolean click(int mx, int my, boolean click)
	{
		if (mouseIn(mx, my))
		{
			if(click)
			{
				if(preClick)
				{
					if (!clicked)
					{
						clicked = true;
						return true;
					}
					clicked = true;
					return false;
				}
				return false;
			}
			preClick = true;
			mouseOver = true;
		}
		else
		{
			mouseOver = false;
			preClick = false;
		}
		clicked = false;
		return false;
	}