summaryrefslogtreecommitdiffhomepage
path: root/config/menustart.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-22 17:10:20 +0200
committerAki <nthirtyone@gmail.com>2016-08-22 17:10:20 +0200
commite57a5b0b77c1ba3a2f05371c551d0e61fc9ce709 (patch)
tree877e630b0afd749d5d75da830d3339dd751abaca /config/menustart.lua
parent6e9aa28e70ec842db643a06609454fff54b5d86a (diff)
downloadroflnauts-e57a5b0b77c1ba3a2f05371c551d0e61fc9ce709.zip
roflnauts-e57a5b0b77c1ba3a2f05371c551d0e61fc9ce709.tar.gz
roflnauts-e57a5b0b77c1ba3a2f05371c551d0e61fc9ce709.tar.bz2
Graphics, animation, general improvements
Diffstat (limited to 'config/menustart.lua')
-rw-r--r--config/menustart.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/menustart.lua b/config/menustart.lua
index 03ca2f2..46015a9 100644
--- a/config/menustart.lua
+++ b/config/menustart.lua
@@ -1,8 +1,10 @@
+local menu = ...
+
local button = require "button"
return {
- button
- :new("WORKED")
+ button:new(menu)
+ :setText("Go back")
:setPosition(10,40)
:set("active", function ()
changeScene(Menu:new("menumain"))