9 lines
170 B
Lua
9 lines
170 B
Lua
local Element = require("element")
|
|
local Text = Element:new{ text = "" }
|
|
|
|
function Text:draw()
|
|
Element.draw(self)
|
|
self.render.window.write(self.text)
|
|
end
|
|
|
|
return Text |