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