Event::getEventType should be const