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


Python RepairMincroGame._initVars方法代码示例

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


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

示例1: _initVars

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import _initVars [as 别名]
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.circleDirection = GROW
     self.currentMin = 0.0
     self.nailCount = 0
     self.currentNails = []
     self.aim = 1.0
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:9,代码来源:RepairHammeringGame.py

示例2: _initVars

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import _initVars [as 别名]
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.boardsPool = { }
     self.currentBoard = None
     self.currentBoardIndex = 0
     self.onDeckBoard = None
     self.onDeckBoardIndex = 0
     self.totalScore = 0.0
     self.hitZone1Penalty = False
     self.hitZone2Penalty = False
     self.hitBoardPenalty = False
     self.moveDiffForSound = 0.0
     self.startPositions = (Point3(0.0, 0.0, 0.0),)
     self.currentStartIndex = 0
     self.lastMousePos = None
     self.board_left = None
     self.board_right = None
     self.cut = None
     self.zone1_right = None
     self.zone1_left = None
     self.zone2_right = None
     self.zone2_left = None
     self.piece1 = None
     self.piece2 = None
     self.lastHitIndex = -1
     self.sawWaypoints = []
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:28,代码来源:RepairSawingGame.py

示例3: _initVars

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import _initVars [as 别名]
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.nextSpawnTime = 0.0
     self.inactiveLeaks = set()
     self.activeLeaks = set()
     self.patchedLeaks = set()
     self.locators = []
     self.leakCount = 0
     self.maxLeaks = 0
     self.bucketPouring = False
开发者ID:XamarinDeveloper,项目名称:Pirates-Online-Source,代码行数:12,代码来源:RepairPitchingGame.py

示例4: _initVars

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import _initVars [as 别名]
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.pumpRate = 0.0
     self.remainingWater = 1.0
     self.chainCount = 0
     self.barDirection = UP
     self.goalIndex = TOP
     self.currentBarRate = self.config.barStartRange[0]
     self.hitRange = self.config.hitRange[0]
     self.barPercent = 0.0
     self.failedPercentAndDirection = (-1.0, UP)
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:13,代码来源:RepairPumpingGame.py

示例5: _initVars

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import _initVars [as 别名]
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.currentGridDimensionAndLineCount = self.config.difficultyLevels[0]
     self.linesComplete = 0
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:6,代码来源:RepairBracingGame.py

示例6: _initVars

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import _initVars [as 别名]
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.lastMousePos = Point2(0.0, 0.0)
     self.isMouseDown = False
     self.barnacleCount = 0
     self.currentBarnacles = []
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:8,代码来源:RepairCareeningGame.py


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