stop method

void stop()

Stops where it is.

Implementation

void stop() {
  if (_ticker.isActive) _ticker.stop();
  _velocity = 0;
}