Pop.Box/elements/dynamicGrid.moon

10 lines
234 B
Plaintext
Raw Normal View History

2017-05-11 21:44:54 +00:00
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"