Files
enduro2d/samples/bin/library/scripts/emmy/components/touchable.lua

20 lines
380 B
Lua

---@class touchable
local touchable = {
---@type boolean
enabled = true,
---@type boolean
disabled = false
}
---@overload fun(self: touchable)
---@param self touchable
function touchable.enable(self) end
---@overload fun(self: touchable)
---@param self touchable
function touchable.disable(self) end
---@type touchable
_G.touchable = _G.touchable or touchable