Closed artur-ios-dev closed 5 years ago
It should be possible to pass a Duration parameter which will indicate how often the events are registered (callback is called).
Duration
Acceptance criteria:
final Duration interval
JoystickView
_processGesture
onPanUpdate
frequency
It should be possible to pass a
Duration
parameter which will indicate how often the events are registered (callback is called).Acceptance criteria:
final Duration interval
to theJoystickView
_processGesture
in theonPanUpdate
callback should be called only when the last gesture was processed earlier thanfrequency
's value