Exemplo n.º 1
0
 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 = []
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.circleDirection = GROW
     self.currentMin = 0.0
     self.nailCount = 0
     self.currentNails = []
     self.aim = 1.0
 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 = []
 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
 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
Exemplo n.º 6
0
 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)
 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)
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.currentGridDimensionAndLineCount = self.config.difficultyLevels[0]
     self.linesComplete = 0
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.currentGridDimensionAndLineCount = self.config.difficultyLevels[0]
     self.linesComplete = 0
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.lastMousePos = Point2(0.0, 0.0)
     self.isMouseDown = False
     self.barnacleCount = 0
     self.currentBarnacles = []
 def _initVars(self):
     RepairMincroGame._initVars(self)
     self.lastMousePos = Point2(0.0, 0.0)
     self.isMouseDown = False
     self.barnacleCount = 0
     self.currentBarnacles = []