Danbias/Code/Misc/EventHandler/EventHandler.h

34 lines
530 B
C
Raw Normal View History

2014-01-31 13:06:11 +01:00
#ifndef EVENT_HANDLER_H
#define EVENT_HANDLER_H
#include "../../Input/L_inputClass.h"
#include "EventButtonCollection.h"
#include "EventButton.h"
#include <vector>
namespace Oyster
{
namespace Event
{
class EventHandler
{
EventHandler();
~EventHandler();
EventHandler& Instance();
void Update(InputClass* inputObject);
void AddCollection(EventButtonCollection& collection);
EventButtonCollection& CreateCollection();
2014-01-31 13:06:11 +01:00
private:
std::vector<EventButtonCollection*> collections;
};
}
}
#endif