整理local
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
local fs=love.filesystem
|
local fs=love.filesystem
|
||||||
local int,max,min=math.floor,math.max,math.min
|
local int=math.floor
|
||||||
local sub,find=string.sub,string.find
|
|
||||||
local toN,toS=tonumber,tostring
|
local toN,toS=tonumber,tostring
|
||||||
local concat=table.concat
|
|
||||||
|
|
||||||
local files={
|
local files={
|
||||||
data= fs.newFile("data.dat"),
|
data= fs.newFile("data.dat"),
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
local gc=love.graphics
|
local gc=love.graphics
|
||||||
local int=math.floor
|
local int=math.floor
|
||||||
local format=string.format
|
local format=string.format
|
||||||
|
local find=string.find
|
||||||
|
|
||||||
do--setFont
|
do--setFont
|
||||||
local newFont=gc.setNewFont
|
local newFont=gc.setNewFont
|
||||||
|
|||||||
Reference in New Issue
Block a user