Add EventBase and EventHandler

This commit is contained in:
Kirigaya Kazuto 2017-04-04 21:56:19 +08:00
parent f3b1b2208c
commit f1d9f79ba5

View File

@ -1,2 +1,14 @@
#pragma once
#include "MiniEngine.h"
class EventBase
{
protected:
SDL_Event e;
};
class EventHandler
{
public:
virtual bool event(const EventBase&)=0;
};