So I appear to be getting a weird bug with regards to my onEvent function.
for (li.first(); !li.isDone(); li.next()) {
(li.currentObject())->eventHandler(p_event);
count++;
}
everything works fine up until my loop. I checked count, and it's correct, so it's recognizing that there is an element in my array, but when I call eventHandler, it doesn't know what to do. My ObjectList seems to like, not be remembering the class of the object. It's not calling eventHandler on my object, which is making it so that the event is never registered by the object.