examples: register the option menu

This commit is contained in:
Kazhnuz 2019-04-13 09:55:15 +02:00
parent 6c2be10628
commit fb1871e0d9
2 changed files with 2 additions and 0 deletions

View file

@ -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",
}

View file

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