diff options
-rw-r--r-- | main.lua | 4 | ||||
-rw-r--r-- | menu.lua | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -29,10 +29,6 @@ function love.load () -- Menu bijaczes m = Menu:new() - m:newSelector() - m:newSelector() - m:newSelector() - m:newSelector() -- Controllers Controllers = {} @@ -30,6 +30,10 @@ function Menu:new () o.selectors = {} o.selected = {} o.portrait_sprite = love.graphics.newImage("assets/portraits.png") + -- selectors + for i=0,3 do + o:newSelector() + end return o end |