diff options
Diffstat (limited to 'config/menus/credits.lua')
-rw-r--r-- | config/menus/credits.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/menus/credits.lua b/config/menus/credits.lua index 77cba62..6a2ab50 100644 --- a/config/menus/credits.lua +++ b/config/menus/credits.lua @@ -1,20 +1,20 @@ local menu = ... -local button = require "not.Button" -local element = require "not.Element" +local Button = require "not.Button" +local Element = require "not.Element" local width, height = love.graphics.getWidth()/getRealScale(), love.graphics.getHeight()/getRealScale() local bx = width/2-29 return { - button:new(menu) + Button(menu) :setText("Go back") :setPosition(bx,144) :set("active", function (self) self.parent:open("main") end) , - element:new(menu) + Element(menu) :setPosition(width/2, 30) :set("draw", function (self, scale) local x,y = self:getPosition() |