function module.new()local o=setmetatable({},methods)o.ObjectPool=moduleObjectPool.new(OBJECT_POOL_SIZE)o.MessageCreators=GetMessageCreators()o.DefaultCreatorType=messageCreatorUtil.DEFAULT_MESSAGE_CREATOR messageCreatorUtil:RegisterObjectPool(o.ObjectPool)return o end function module.GetStringTextBounds(k,o,S,T,i)return messageCreatorUtil:GetStringTextBounds(o,S,T,i)end return module


function module.new()
	local obj = setmetatable({}, methods)

	obj.ObjectPool = moduleObjectPool.new(OBJECT_POOL_SIZE)
	obj.MessageCreators = GetMessageCreators()
	obj.DefaultCreatorType = messageCreatorUtil.DEFAULT_MESSAGE_CREATOR

	messageCreatorUtil:RegisterObjectPool(obj.ObjectPool)

	return obj
end

function module:GetStringTextBounds(text, font, textSize, sizeBounds)
	return messageCreatorUtil:GetStringTextBounds(text, font, textSize, sizeBounds)
end

return module
