Pop.Box/elements/grid.moon

10 lines
209 B
Plaintext
Raw Normal View History

2017-05-11 21:44:54 +00:00
import graphics from love
element = require "#{(...)\sub 1, -5}/element"
class grid extends element
2017-08-28 08:49:12 +00:00
new: (@parent, @data={}) =>
super @parent, @data
2017-05-11 21:44:54 +00:00
2017-08-28 08:49:12 +00:00
@data.type = "grid" if @data.type == "element"