LuaCATS / love2d

Definitions for the LÖVE 2D game framework
10 stars 4 forks source link

Update graphics.lua; Allow text functions to accept numbers #7

Closed JJSax closed 3 weeks ago

JJSax commented 3 weeks ago

love.graphics.print and love.graphics.printf accept numbers as the first argument.

Font:getWidth() also accepts numbers as the first argument