当前位置: 首页>>代码示例>>Python>>正文


Python Move.doubleAssignLast方法代码示例

本文整理汇总了Python中models.Move.doubleAssignLast方法的典型用法代码示例。如果您正苦于以下问题:Python Move.doubleAssignLast方法的具体用法?Python Move.doubleAssignLast怎么用?Python Move.doubleAssignLast使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在models.Move的用法示例。


在下文中一共展示了Move.doubleAssignLast方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: generateMoves

# 需要导入模块: from models import Move [as 别名]
# 或者: from models.Move import doubleAssignLast [as 别名]

#.........这里部分代码省略.........
    Move.doubleAdd(movesGraph['sidePlank'], movesGraph['cresentTwist'], late=True, inverted=True)
    Move.doubleAdd(movesGraph['sidePlankLegUp'], movesGraph['cresentTwist'], inverted=True)
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['threadTheNeedle'], movesGraph['fallenStar'])
    Move.doubleAdd(movesGraph['warrior1'], movesGraph['warrior2'], movesGraph['warrior3'], movesGraph['humbleWarrior'], movesGraph['cresent'])
    Move.doubleAdd(movesGraph['humbleWarrior'], movesGraph['warrior1'])
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['humbleWarrior'], movesGraph['warrior3'], late=True)
    Move.doubleAdd(movesGraph['warrior2'], movesGraph['sideAngle'], movesGraph['triangle'], movesGraph['reverseWarrior'], movesGraph['cresent'])
    Move.doubleAdd(movesGraph['threeLeggedDog'], movesGraph['lowLunge'], movesGraph['kneeToElbow'], movesGraph['kneeToNose'], movesGraph['warrior1'], \
            movesGraph['warrior2'], movesGraph['twoLeggedDog'], movesGraph['flippedDog'], movesGraph['kneeToOtherElbow'])
    Move.doubleAdd(movesGraph['twoLeggedDog'], movesGraph['threeLeggedDog'])
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['threeLeggedDog'], movesGraph['runningMan'], movesGraph['revolvedRunningMan'], late=True)
    Move.doubleAdd(movesGraph['flippedDog'], movesGraph['threeLeggedDog'])
    Move.doubleAdd(movesGraph['pigeon'], movesGraph['threeLeggedDog'], movesGraph['kingPigeon'])
    Move.doubleAdd(movesGraph['kingPigeon'], movesGraph['threeLeggedDog'])
    Move.doubleAdd(movesGraph['kneeToNose'], movesGraph['threeLeggedDog'])
    if difficulty <= 0:
        Move.doubleAdd(movesGraph['kneeToNose'], movesGraph['lowLunge'], late=True)
    Move.doubleAdd(movesGraph['kneeToElbow'], movesGraph['kneeToOtherElbow'], movesGraph['threeLeggedDog'], movesGraph['lowLunge'])
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['kneeToElbow'], movesGraph['runningMan'], late=True)
    Move.doubleAdd(movesGraph['kneeToOtherElbow'], movesGraph['threeLeggedDog'])
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['kneeToOtherElbow'], movesGraph['revolvedRunningMan'], late=True)
    Move.doubleAdd(movesGraph['lowLunge'], movesGraph['warrior1'], movesGraph['warrior2'], movesGraph['cresent'], movesGraph['lizard'])
    Move.doubleAdd(movesGraph['lowLunge'], movesGraph['standingSplits'], inverted=True)
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['lowLunge'], movesGraph['warrior3'], late=True)
        Move.doubleAdd(movesGraph['eagle'], movesGraph['warrior3'], late=True, inverted=True)
        Move.doubleAdd(movesGraph['eagle'], movesGraph['standingLegLift4'])
        Move.doubleAdd(movesGraph['lizard'], movesGraph['cresent'], late = True)
    if difficulty >= 0:
        Move.doubleAdd(movesGraph['eagle'], movesGraph['standingSplits'])
    Move.doubleAdd(movesGraph['warrior3'], movesGraph['standingLegLift1'], movesGraph['standingSplits'], movesGraph['tree'], movesGraph['eagle'], \
            inverted=True)
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['warrior3'], movesGraph['halfMoon'])
    Move.doubleAdd(movesGraph['warrior3'], movesGraph['warrior2'])
    Move.doubleAdd(movesGraph['cresent'], movesGraph['warrior1'], movesGraph['cresentTwist'], movesGraph['warrior3'])
    Move.doubleAdd(movesGraph['cresentTwist'], movesGraph['cresent'], movesGraph['chairTwist'])
    if difficulty >= 0:
        Move.doubleAdd(movesGraph['cresentTwist'], movesGraph['sidePlank'], inverted=True)
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['cresentTwist'], movesGraph['sidePlankLegUp'], inverted=True, late=True)
    if difficulty >= 2:
        Move.doubleAdd(movesGraph['cresentTwist'], movesGraph['boundRevolvedHalfMoon'], late=True)
    Move.doubleAdd(movesGraph['balancingTableLegOnly'], movesGraph['balancingTable'])
    Move.doubleAdd(movesGraph['balancingTable'], movesGraph['oneHandedTiger'])
    Move.doubleAdd(movesGraph['sideAngle'], movesGraph['reverseWarrior'], movesGraph['warrior2'])
    if difficulty >= 0:
        Move.doubleAdd(movesGraph['sideAngle'], movesGraph['sidePlank'], movesGraph['birdOfParadise'], movesGraph['halfMoon'])
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['sideAngle'], movesGraph['boundHalfMoon'], late=True)
    Move.doubleAdd(movesGraph['boundHalfMoon'], movesGraph['sideAngle'], movesGraph['halfMoon'])
    Move.doubleAdd(movesGraph['boundRevolvedHalfMoon'], movesGraph['cresentTwist'], movesGraph['revolvedHalfMoon'])
    Move.doubleAdd(movesGraph['birdOfParadise'], movesGraph['sideAngle'])
    Move.doubleAdd(movesGraph['reverseWarrior'], movesGraph['sideAngle'], movesGraph['warrior2'])
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['reverseWarrior'], movesGraph['sidePlank'], late=True)
    Move.doubleAdd(movesGraph['standingLegLift1'], movesGraph['standingLegLift2'], movesGraph['eagle'], movesGraph['tree'])
    Move.doubleAdd(movesGraph['tree'], movesGraph['halfBoundStandingLotus'], movesGraph['eagle'], movesGraph['standingLegLift1'])
    Move.doubleAdd(movesGraph['tree'], movesGraph['warrior3'], inverted=True)
    Move.doubleAdd(movesGraph['halfBoundStandingLotus'], movesGraph['standingLegLift1'], movesGraph['tree'])
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['halfBoundStandingLotus'], movesGraph['standingLotusSquat'], late=True)
        Move.doubleAdd(movesGraph['standingLotusSquat'], movesGraph['toestand'])
    if difficulty >= 2:
        Move.doubleAdd(movesGraph['standingLotusSquat'], movesGraph['flyingPigeon'])
        Move.doubleAdd(movesGraph['standingLegLift2'], movesGraph['birdOfParadise'])
        Move.doubleAssignLast(movesGraph['standingLegLift2'], movesGraph['birdOfParadise'])
    Move.doubleAdd(movesGraph['standingLegLift1'], movesGraph['warrior3'], inverted=True)
    Move.doubleAdd(movesGraph['standingLegLift2'], movesGraph['standingLegLift3'])
    if difficulty < 1:
        Move.doubleAdd(movesGraph['standingLegLift2'], movesGraph['tree'], late = True)
    Move.doubleAdd(movesGraph['standingLegLift3'], movesGraph['standingLegLift4'])
    Move.doubleAdd(movesGraph['standingLegLift4'], movesGraph['warrior3'], inverted=True)
    Move.doubleAdd(movesGraph['standingLegLift4'], movesGraph['standingSplits'], movesGraph['eagle'], movesGraph['tree'])
    Move.doubleAdd(movesGraph['triangle'], movesGraph['revolvedTriangle'], movesGraph['pyramid'], movesGraph['sideAngle'])
    if difficulty >= 0:
        Move.doubleAdd(movesGraph['triangle'], movesGraph['halfMoon'], late=True)
    Move.doubleAdd(movesGraph['pyramid'], movesGraph['revolvedTriangle'])
    Move.doubleAdd(movesGraph['standingLegStretch'], movesGraph['pyramid'])
    if difficulty <= 0:
        Move.doubleAdd(movesGraph['pyramid'], movesGraph['lowLunge'], late = True)
    Move.doubleAdd(movesGraph['chairTwist'], movesGraph['sideCrow'], late = True)
    if difficulty >= 1:
        Move.doubleAdd(movesGraph['lizard'], movesGraph['runningMan'], late=True)
    if difficulty >= 0:
        Move.doubleAdd(movesGraph['lizard'], movesGraph['sideAngle'], late=True)
    Move.doubleAdd(movesGraph['halfMoon'], movesGraph['revolvedHalfMoon'], movesGraph['warrior3'], movesGraph['warrior2'])
    Move.doubleAdd(movesGraph['revolvedHalfMoon'], movesGraph['halfMoon'], movesGraph['warrior3'], movesGraph['warrior1'], movesGraph['cresent'])
    Move.doubleAdd(movesGraph['revolvedTriangle'], movesGraph['revolvedHalfMoon'], movesGraph['pyramid'], movesGraph['cresentTwist'])
    Move.doubleAdd(movesGraph['sideCrow'], movesGraph['revolvedRunningMan'], late=True)
    Move.doubleAdd(movesGraph['dancer'], movesGraph['standingLegLift1'], movesGraph['standingSplits'])
    Move.doubleAdd(movesGraph['dancer'], movesGraph['warrior3'], inverted=True)
    if difficulty >= 0:
        Move.doubleAdd(movesGraph['dancer'], movesGraph['eagle'], late=True)
    return movesGraph
开发者ID:shulinye,项目名称:yoga,代码行数:104,代码来源:moves.py


注:本文中的models.Move.doubleAssignLast方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。