moveDownLeft method
Move player to Down and Left
Implementation
void moveDownLeft({double? speed}) {
_lastSpeed = (speed ?? this.speed) * diaginalReduction;
velocity = Vector2(-_lastSpeed, _lastSpeed);
}
Move player to Down and Left
void moveDownLeft({double? speed}) {
_lastSpeed = (speed ?? this.speed) * diaginalReduction;
velocity = Vector2(-_lastSpeed, _lastSpeed);
}