moveRightOnce method
Implementation
void moveRightOnce({double? speed}) {
_lastSpeed = speed ?? this.speed;
setVelocityAxis(x: _lastSpeed);
onApplyDisplacement(dtUpdate);
setVelocityAxis(x: 0);
}
void moveRightOnce({double? speed}) {
_lastSpeed = speed ?? this.speed;
setVelocityAxis(x: _lastSpeed);
onApplyDisplacement(dtUpdate);
setVelocityAxis(x: 0);
}