mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
12 lines
371 B
Lua
12 lines
371 B
Lua
local path = string.sub(..., 1, string.len(...) - string.len("/elements/box"))
|
|
local class = require(path .. "/lib/middleclass")
|
|
local element = require(path .. "/elements/element")
|
|
|
|
local box = class("pop.box", element) --TODO follow middleclass standards!?@@R/
|
|
|
|
function box:initialize(pop, parent, skin)
|
|
element.initialize(self, pop, parent, skin)
|
|
end
|
|
|
|
return box
|