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