Danbias/Code/Misc/EventHandler/EventHandler.cpp

37 lines
494 B
C++

#include "EventHandler.h"
using namespace Oyster::Event;
EventHandler EvtHandler;
EventHandler& EventHandler::Instance()
{
return EvtHandler;
}
EventHandler::EventHandler()
{
}
EventHandler::~EventHandler()
{
}
void EventHandler::Update(InputClass* inputObject)
{
for(int i = 0; i < collections.size(); i++)
{
collections.at(i)->Update(inputObject);
}
}
EventButtonCollection* EventHandler::CreateCollection()
{
}
EventButtonCollection* EventHandler::GetCollection(/*ID*/);
{
}