mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
10 lines
219 B
Plaintext
10 lines
219 B
Plaintext
|
import graphics from love
|
||
|
|
||
|
element = require "#{(...)\sub 1, -5}/element"
|
||
|
|
||
|
class grid extends element
|
||
|
new: (@parent, @data={}) =>
|
||
|
super @parent, @data
|
||
|
|
||
|
@data.type = "grid" if @data.type == "element"
|