xmario/xSDL/xEventHandler.h

16 lines
218 B
C
Raw Permalink Normal View History

#ifndef DEF_XEVENT_HANDLER_H
#define DEF_XEVENT_HANDLER_H
#include "SDL.h"
using namespace std;
class xEventHandler {
public:
// handles the event
2020-02-05 17:17:50 +00:00
virtual void handle(SDL_Event* event) = 0;
};
#endif