Exemplo n.º 1
0
 protected void SetJumpAnimation()
 {
     if (!IsCurrentAnimationJump())
     {
         CurrentAnimation = Direction == Direction.Left ? Animations["jumpleft"] : Animations["jumpright"];
     }
 }
Exemplo n.º 2
0
 protected void SetWaitAnimation()
 {
     CurrentAnimation = Direction == Direction.Left ? Animations["waitleft"] : Animations["waitright"];
 }