mirror of
https://github.com/Reuh/ubiquitousse.git
synced 2025-10-28 01:29:31 +00:00
DAMN SEQUENTIAL ORDER
This commit is contained in:
parent
e063f55514
commit
f3b5338779
3 changed files with 6 additions and 10 deletions
|
|
@ -1,7 +1,6 @@
|
|||
-- ubiquitousse.scene
|
||||
local uqt = require((...):match("^(.-ubiquitousse)%."))
|
||||
local m = uqt.module
|
||||
local time = uqt.time
|
||||
|
||||
--- Returns the file path of the given module name.
|
||||
local function getPath(modname)
|
||||
|
|
@ -53,7 +52,7 @@ scene = {
|
|||
return {
|
||||
name = name or "unamed", -- The scene name.
|
||||
|
||||
time = m.time and time.new(), -- Scene-specific TimerRegistry, if uqt.time is enabled.
|
||||
time = m.time and uqt.time.new(), -- Scene-specific TimerRegistry, if uqt.time is enabled.
|
||||
|
||||
enter = function(self, ...) end, -- Called when entering a scene.
|
||||
exit = function(self) end, -- Called when exiting a scene, and not expecting to come back (scene may be unloaded).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue