protected void UpdateRectangle()
	{
		//Updating the rectangle
		rectangleHitbox.setLocation(intPosX, intPosY);
		rectangleHitbox.setSize(GetCurrentSprite().getWidth(null), GetCurrentSprite().getHeight(null));
	}