is it possible to create simple custom events in Processing similar to as3?
dispatch(new Event("HEY"));
myObject.addEventListener("HEY",callBack);
is it possible to create simple custom events in Processing similar to as3?
dispatch(new Event("HEY"));
myObject.addEventListener("HEY",callBack);
No, you need to implement the observer-pattern yourself. Here is a small example on how to do so in Java: Stackoverflow: Create a custom event in Java