- Menú bàsic funcionant
This commit is contained in:
@@ -54,7 +54,9 @@ namespace modules
|
||||
|
||||
bool loop()
|
||||
{
|
||||
if (input::keyDown(SDL_SCANCODE_ESCAPE)) {
|
||||
if (input::keyPressed(SDL_SCANCODE_ESCAPE) ||
|
||||
input::keyPressed(SDL_SCANCODE_SPACE) ||
|
||||
input::keyPressed(SDL_SCANCODE_RETURN) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user