1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 17:19:31 +00:00
This commit is contained in:
Reuh 2017-04-05 20:14:48 +02:00
parent 08afbe1d6d
commit b55c6b0dfd
8 changed files with 56 additions and 4 deletions

View file

@ -45,10 +45,11 @@ scene = {
prefix = "",
--- Creates and returns a new Scene object.
-- @tparam[opt="unamed"] string name the new scene name
-- @impl ubiquitousse
new = function()
new = function(name)
return {
name = "loading scene", -- The scene name.
name = name or "unamed", -- The scene name.
time = time.new(), -- Scene-specific TimerRegistry.