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