JBotSim
JBotSim copied to clipboard
ClockListener version with onPreClock() and onPostClock()
issue created in order to be sure to keep the discussion somewhere
In one of my implementations, I could have used a non-Node object being able to listen to onPreClock() and onPostClock(). It is not possible yet.
Indeed, onPreClock() and onPostClock() have been created after the ClockListener interface.
This interface thus only contains onClock().
It is unclear how it could/should be available:
- separated
PreClockListenerandPostClockListener, at the same level asClockListener? - a
FullClockListenerwhich inheritsClockListener?
I would like this option to be made available as well. Both proposed solutions (Pre/PostClockListener or FullClockListener) seem fine.