moveLeft method

  1. @override
bool moveLeft(
  1. double speed, {
  2. bool notifyOnMove = true,
})
override

Move player to Left

Implementation

@override
bool moveLeft(double speed, {bool notifyOnMove = true}) {
  animation?.play(SimpleAnimationEnum.runLeft);
  return super.moveLeft(speed, notifyOnMove: notifyOnMove);
}