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