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