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(m,O,X,w,G)return messageCreatorUtil:GetStringTextBounds(O,X,w,G)end return module
--///////////////////////// Constructors
--//////////////////////////////////////

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
