def stringify(hitObject):
	"""Turns a TaikoObject into a string that TITaiko understands"""

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

	# Add a third parameter if the object is a long note
	if (hitObject.length != None):
		ret += ':' + str(int(hitObject.length))

	return ret