mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-16 15:49:03 -06:00
863c614a4c
I had to redo how input is done entirely, so more than one source of input can be used for game inputs. I added new inputs, menu_decide and menu_back. Return and escape still have their reserved status, sending menu_decide and menu_back, respectively. Other keys are reserved too, like arrows, to ensure users can always reconfigure input.
17 lines
457 B
Lua
17 lines
457 B
Lua
local Object = require "libs.classic"
|
|
|
|
Scene = Object:extend()
|
|
|
|
function Scene:new() end
|
|
function Scene:update() end
|
|
function Scene:render() end
|
|
function Scene:onInputPress() end
|
|
function Scene:onInputRelease() end
|
|
|
|
ExitScene = require "scene.exit"
|
|
GameScene = require "scene.game"
|
|
ModeSelectScene = require "scene.mode_select"
|
|
InputConfigScene = require "scene.input_config"
|
|
GameConfigScene = require "scene.game_config"
|
|
TitleScene = require "scene.title"
|