examples/options: add basic structure

This commit is contained in:
Kazhnuz 2019-04-13 10:14:15 +02:00
parent 8a50e77796
commit 0686b70b6a

View file

@ -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")