mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Replace `table.getn with # and scene with SCENE`
This commit is contained in:
12
scene.lua
12
scene.lua
@@ -1,12 +1,12 @@
|
||||
local Object = require "libs.classic"
|
||||
|
||||
Scene = Object:extend()
|
||||
SCENE = Object:extend()
|
||||
|
||||
function Scene:new() end
|
||||
function Scene:update() end
|
||||
function Scene:render() end
|
||||
function Scene:onInputPress() end
|
||||
function Scene:onInputRelease() end
|
||||
function SCENE:new() end
|
||||
function SCENE:update() end
|
||||
function SCENE:render() end
|
||||
function SCENE:onInputPress() end
|
||||
function SCENE:onInputRelease() end
|
||||
|
||||
ExitScene = require "scene.exit"
|
||||
GameScene = require "scene.game"
|
||||
|
||||
Reference in New Issue
Block a user