moveFromAngle method

  1. @override
void moveFromAngle(
  1. double angle, {
  2. double? speed,
})
override

Move Player to direction by radAngle

Implementation

@override
void moveFromAngle(double angle, {double? speed}) {
  setAnimation(animRun);
  this.angle = angle;
  super.moveFromAngle(angle, speed: speed);
}