def stringify(hitObject):
	"""Turns a reamber OsuHit into a string that TIMania understands"""

	ret = str(int(hitObject.offset)) + ':' + str(hitObject.column)

	# Add a third parameter if the object is a hold
	if (hasattr(hitObject, 'length')):
		ret += ':' + str(int(hitObject.length))

	return ret