diff --git a/demo/demo/main.cpp b/demo/demo/main.cpp index 55bc17af1a3b82de7ad3a4117e3bc5858cbb9ab9..865cd9e1faa4468826c8212fefb37cb9e2d52194 100644 --- a/demo/demo/main.cpp +++ b/demo/demo/main.cpp @@ -114,10 +114,12 @@ int main(int argc, const char* argv[]) { audio->play("click.ogg", false); app.change_state("game"); }); + menu->add("rollball", [&app, &audio]() { audio->play("click.ogg", false); app.change_state("rollball"); }); + menu->add("quit", [&app, &audio]() { audio->play("click.ogg", false); app.running(false);