示例#1
0
 public void GoRight()
 {
     if (!isCrouch)
     {
         state.GoRight();
         if (velocity.X < maxVelocity.X)
         {
             velocity.X += ValueHolder.walkingVelocity;
         }
     }
     isLeft = false;
 }