7 lines
198 B
Plaintext
7 lines
198 B
Plaintext
function gui:setNewFont(FontSize,filename)
|
|
if filename then
|
|
self.Font = love.graphics.newFont(filename, tonumber(FontSize))
|
|
else
|
|
self.Font=love.graphics.setNewFont(tonumber(FontSize))
|
|
end
|
|
end |