xmario/xSDL/xEventHandler.h

16 lines
224 B
C
Raw 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
virtual void handle(SDL_Event* event) const = 0;
};
#endif