moveLeft method
Move player to Left
Implementation
void moveLeft({double? speed}) {
_lastSpeed = speed ?? this.speed;
setVelocityAxis(x: -_lastSpeed);
}
Move player to Left
void moveLeft({double? speed}) {
_lastSpeed = speed ?? this.speed;
setVelocityAxis(x: -_lastSpeed);
}