Pop.Box/elements/dynamicGrid.moon
2017-08-28 01:49:12 -07:00

10 lines
224 B
Plaintext

import graphics from love
element = require "#{(...)\sub 1, -12}/element"
class dynamicGrid extends element
new: (@parent, @data={}) =>
super @parent, @data
@data.type = "dynamicGrid" if @data.type == "element"