Hello JGO!
I searched the forum and google but couldn’t find a solution.
Basically what I try to achieve is the following with JavaFX:
- If e.g. a Sprite “dies” i want to fire an event.
- Another class (which handles scoring) should listen and wait for that event getting fired.
Basically I want to “wire” two classes without one having a reference to the other.