cambridge/scene/config.lua

25 lines
380 B
Lua
Raw Permalink Normal View History

2019-05-22 22:57:34 -05:00
local ConfigScene = Scene:extend()
require 'load.save'
function ConfigScene:new()
end
function ConfigScene:update()
end
function ConfigScene:render()
end
function ConfigScene:changeOption(rel)
local len = table.getn(main_menu_screens)
self.main_menu_state = (self.main_menu_state + len + rel - 1) % len + 1
end
function ConfigScene:onKeyPress(e)
end
return ConfigScene