moveDown method
Move player to Down
Implementation
void moveDown({double? speed}) {
_lastSpeed = speed ?? this.speed;
setVelocityAxis(y: _lastSpeed);
}
Move player to Down
void moveDown({double? speed}) {
_lastSpeed = speed ?? this.speed;
setVelocityAxis(y: _lastSpeed);
}