public boolean isInside(Point2D.Float point)
	{
		if (objectType == EditorObjectType.SPIKE)
		{
			if (point.x >= position.x && point.x <= position.x + width)
			{
				if (point.y >= position.y && point.y <= position.y + height)
					return true;
			}
		}
		else
		{
			if (point.x >= position.x - width / 2 && point.x <= position.x + width / 2)
			{
				if (point.y >= position.y - height / 2 && point.y <= position.y + height / 2)
					return true;
			}
		}
		return false;
	}