本文整理匯總了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 = []