void EventTriggerHandler::accept(EventData& event) { if(event.validate(eventSequence.front())) { callback(); } }
void EventHandler::accept(EventData& event) { if(!complete() && event.validate(eventSequence.front())) { eventSequence.pop(); if(complete()) { callback(); } } }