moveLeft method
Move player to Left
Implementation
@override
void moveLeft(double speed, {VoidCallback? onCollision}) {
animation?.play(SimpleAnimationEnum.runLeft);
super.moveLeft(speed, onCollision: onCollision);
}
Move player to Left
@override
void moveLeft(double speed, {VoidCallback? onCollision}) {
animation?.play(SimpleAnimationEnum.runLeft);
super.moveLeft(speed, onCollision: onCollision);
}