examples/options: add basic structure
This commit is contained in:
parent
8a50e77796
commit
0686b70b6a
1 changed files with 4 additions and 8 deletions
|
@ -32,14 +32,10 @@ function OptionsMenu:new()
|
||||||
self.assets:addImageFont("medium", "examples/mainmenu/assets/medium")
|
self.assets:addImageFont("medium", "examples/mainmenu/assets/medium")
|
||||||
|
|
||||||
self:addMenu("main", true)
|
self:addMenu("main", true)
|
||||||
self:addSubMenu("basic", "Basic Tests")
|
self:addSubMenu("video", "video")
|
||||||
self:addScene("basic", examples.Test, "Basic Test 1")
|
self:addSubMenu("audio", "audio")
|
||||||
self:addScene("basic", examples.Test2, "Basic Test 2")
|
self:addSubMenu("lang", "lang")
|
||||||
self:addScene("basic", examples.TestMenu, "Basic Test Menu")
|
self:addSubMenu("input", "input")
|
||||||
self:addSubMenu("menus", "Menus Tests")
|
|
||||||
self:addScene("menus", examples.Inventory, "Inventory")
|
|
||||||
self:addSubMenu("gameplay", "Games Examples")
|
|
||||||
self:addScene("gameplay", examples.MovePlayer, "Movable Player")
|
|
||||||
|
|
||||||
Widgets.Exit(self, "main")
|
Widgets.Exit(self, "main")
|
||||||
self.menusystem:switchMenu("main")
|
self.menusystem:switchMenu("main")
|
||||||
|
|
Loading…
Reference in a new issue