CabinGame/Luxe/blocks/ui/simple_text.wren

18 lines
309 B
Text
Raw Normal View History

2020-09-06 15:04:41 +00:00
import "luxe: ui/control" for Control
class UISimpleText{
static create(ent){
var text = Control.create(ent)
Control.set_render(text) {|control, state, x,y,w,h|
//System.print(control)
}
return text
}
static set_text(con, text){
System.print(text)
}
}