improvement(examples): put menu examples after gameplay examples

This commit is contained in:
Kazhnuz 2019-07-12 23:52:49 +02:00
parent fbe5d56b4d
commit 443b8c0e1c

View file

@ -36,9 +36,6 @@ function MainMenu:new()
self.assets:batchImport("examples.mainmenu.assets")
self:addMenu("main", true)
self:addSubMenu("menus", "menu")
self:addScene("menus", examples.Inventory, "inventory")
self:addScene("menus", examples.Options, "options")
for i=1, 4 do
local name = i .. "player"
self:addSubMenu(name, name)
@ -52,6 +49,9 @@ function MainMenu:new()
self:addScene(name, examples.MovePlayer3D, "topdown3D (zoom)", i, "zoom")
end
end
self:addSubMenu("menus", "menu")
self:addScene("menus", examples.Inventory, "inventory")
self:addScene("menus", examples.Options, "options")
self.menusystem:setSoundFromSceneAssets("navigate")