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