mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 16:09:06 +07:00
23 lines
369 B
Lua
23 lines
369 B
Lua
---@class scene
|
|
local scene = {
|
|
---@type boolean
|
|
enabled = true,
|
|
|
|
---@type boolean
|
|
disabled = false,
|
|
|
|
---@type integer
|
|
depth = 0
|
|
}
|
|
|
|
---@overload fun(self: scene)
|
|
---@param self scene
|
|
function scene.enable(self) end
|
|
|
|
---@overload fun(self: scene)
|
|
---@param self scene
|
|
function scene.disable(self) end
|
|
|
|
---@type scene
|
|
_G.scene = _G.scene or scene
|