This is for the love2d engine. Works with the latest version. Look at my intro to software project for some examples on how to use this
6 lines
92 B
Plaintext
6 lines
92 B
Plaintext
function gui:setText(txt)
|
|
self.text=txt
|
|
end
|
|
function gui:getText(txt)
|
|
return self.text
|
|
end |