本文整理汇总了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
示例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 = []
示例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
示例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)
示例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
示例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 = []