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:addMenu("main", true)
|
||||
self:addSubMenu("basic", "Basic Tests")
|
||||
self:addScene("basic", examples.Test, "Basic Test 1")
|
||||
self:addScene("basic", examples.Test2, "Basic Test 2")
|
||||
self:addScene("basic", examples.TestMenu, "Basic Test Menu")
|
||||
self:addSubMenu("menus", "Menus Tests")
|
||||
self:addScene("menus", examples.Inventory, "Inventory")
|
||||
self:addSubMenu("gameplay", "Games Examples")
|
||||
self:addScene("gameplay", examples.MovePlayer, "Movable Player")
|
||||
self:addSubMenu("video", "video")
|
||||
self:addSubMenu("audio", "audio")
|
||||
self:addSubMenu("lang", "lang")
|
||||
self:addSubMenu("input", "input")
|
||||
|
||||
Widgets.Exit(self, "main")
|
||||
self.menusystem:switchMenu("main")
|
||||
|
|
Loading…
Reference in a new issue