millorada la gestio d'escenes i opcions

This commit is contained in:
2025-12-04 11:51:41 +01:00
parent f8c5207d5c
commit 330044e10f
12 changed files with 195 additions and 59 deletions
+3 -2
View File
@@ -6,11 +6,12 @@
#include <SDL3/SDL.h>
// Forward declaration
// Forward declarations
class SDLManager;
namespace GestorEscenes { class ContextEscenes; }
namespace GlobalEvents {
// Processa events globals (F1/F2/F3/ESC/QUIT)
// Retorna true si l'event ha estat processat i no cal seguir processant-lo
bool handle(const SDL_Event& event, SDLManager& sdl);
bool handle(const SDL_Event& event, SDLManager& sdl, GestorEscenes::ContextEscenes& context);
} // namespace GlobalEvents