整理代码

This commit is contained in:
MrZ626
2021-11-05 11:02:45 +08:00
parent cd3d0b370c
commit f083136998
2 changed files with 8 additions and 7 deletions

View File

@@ -1,11 +1,11 @@
local TEST={}
--Wait for the scene swapping animation to finish
function TEST.switchSCN()
function TEST.yieldUntilNextScene()
while SCN.swapping do YIELD()end
end
function TEST.wait(frames)
function TEST.yieldN(frames)
for _=1,frames do YIELD()end
end