examples: register the option menu
This commit is contained in:
parent
6c2be10628
commit
fb1871e0d9
2 changed files with 2 additions and 0 deletions
|
@ -4,5 +4,6 @@ return {
|
|||
Test2 = require "examples.basic.test_scene2",
|
||||
TestMenu = require "examples.basic.test_menus",
|
||||
Inventory = require "examples.menus.inventory",
|
||||
Options = require "examples.menus.options",
|
||||
MovePlayer = require "examples.gameplay.moveplayer",
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ function MainMenu:new()
|
|||
self:addScene("basic", examples.TestMenu, "Basic Test Menu")
|
||||
self:addSubMenu("menus", "Menus Tests")
|
||||
self:addScene("menus", examples.Inventory, "Inventory")
|
||||
self:addScene("menus", examples.Options, "Options")
|
||||
self:addSubMenu("gameplay", "Games Examples")
|
||||
self:addScene("gameplay", examples.MovePlayer, "Movable Player")
|
||||
|
||||
|
|
Loading…
Reference in a new issue