stop method

void stop()

Implementation

void stop() {
  velocity = Vector2.zero();
  _handleIdle();
}