axmol/templates/lua-template-default/src/app/MyApp.lua

9 lines
130 B
Lua

local MyApp = class("MyApp", cc.load("mvc").AppBase)
function MyApp:onCreate()
math.randomseed(os.time())
end
return MyApp