In my application I have some classes that I would like to dispatch events from that are not display objects. They are basically some lua files that return a table. I would like to keep values and logic there and then dispatch an event from time too time.
The use case would be something like a display object that keeps state or data in another file and then listens for “change” events.
In Flash a class can extend EventDispatcher. I am wondering if there is a way to do something similar? My solution has been to just return “group” object instead of a plain old table. [import]uid: 7501 topic_id: 21577 reply_id: 321577[/import]