整理代码,大规模整理(展开)使用次数不多的局部变量名
框架跟进
This commit is contained in:
@@ -171,7 +171,7 @@ function scene.draw()
|
||||
gc_rectangle('fill',x,y,w,h,12)
|
||||
end
|
||||
gc_setColor(1,1,1)
|
||||
mStr(cardText[c],x+w/2,y-17)
|
||||
GC.mStr(cardText[c],x+w/2,y-17)
|
||||
if i==selected then gc_translate(0,10)end
|
||||
end
|
||||
for i=1,#pool do
|
||||
@@ -184,7 +184,7 @@ function scene.draw()
|
||||
gc_rectangle('fill',x,y,w,h,12)
|
||||
end
|
||||
gc_setColor(1,1,1)
|
||||
mStr(cardText[c],x+w/2,y-17)
|
||||
GC.mStr(cardText[c],x+w/2,y-17)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user