- Basic RTTI type data with inheritance.

This commit is contained in:
2025-11-28 12:58:23 -05:00
parent b9026ec8da
commit fe8c3a4602
126 changed files with 2158 additions and 979 deletions

View File

@@ -39,7 +39,7 @@ void event::remove_listener(event_listener* listener) {
}
void event::dispatch(event* event) {
for (auto& it : listeners[event->type]) {
for (auto& it : listeners[event->get_type().id()]) {
it->handle_event(event);
}
}