Pop.Box/pop/elements/box.lua

12 lines
371 B
Lua
Raw Normal View History

2016-01-20 22:34:25 +00:00
local path = string.sub(..., 1, string.len(...) - string.len("/elements/box"))
local class = require(path .. "/lib/middleclass")
local element = require(path .. "/elements/element")
2015-11-18 03:27:06 +00:00
2016-01-20 22:34:25 +00:00
local box = class("pop.box", element) --TODO follow middleclass standards!?@@R/
2015-11-18 03:27:06 +00:00
2016-01-20 22:34:25 +00:00
function box:initialize(pop, parent, skin)
element.initialize(self, pop, parent, skin)
2015-11-18 03:27:06 +00:00
end
return box