Trabajando en el titulo

This commit is contained in:
2022-09-03 15:08:57 +02:00
parent 643129b850
commit 3c26c98dd5
3 changed files with 42 additions and 8 deletions

View File

@@ -81,6 +81,10 @@ void Game::checkEventHandler()
{
switch (eventHandler->key.keysym.scancode)
{
case SDL_SCANCODE_ESCAPE:
section.name = SECTION_PROG_TITLE;
break;
case SDL_SCANCODE_D:
debug = !debug;
break;