Hej everyone,
I’ve hit a conceptual wall with my little pet project and I’m wondering if I’m just not getting the whole reactive paradigm…
The idea is to have a single screen application, which shows a time-based simulation - think of it like a garden.
It should also be possible to pause the simulation, so I was thinking of having a single Timer in the main module, which would use the EventEmitter to send out events on every tick.
The problem is, that I include the “flowers”'s separate UX within an Each tag and I’m not sure how to make them listen to my “global” EventEmitter object respectively. I tried passing it as a ux:Property, but that seems to be an illegal move.
Any pointers are appreciated,
Thanks!
Flo