22 #ifndef EVENTSMANAGER_H
23 #define EVENTSMANAGER_H
28 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
29 #include <SDL_events.h>
32 #include "localconsts.h"
56 static void handleSDL2WindowEvent(
const SDL_Event &event);
64 static void logEvent(
const SDL_Event &event);
void optionChanged(const std::string &name)
bool handleEvents() const
void handleGameEvents() const
bool handleCommonEvents(const SDL_Event &event) const
static void logEvent(const SDL_Event &event)
static void handleActive(const SDL_Event &event)
EventsManager eventsManager
#define A_DELETE_COPY(func)