本文整理汇总了Python中RepairMincroGame.RepairMincroGame.enterGame方法的典型用法代码示例。如果您正苦于以下问题:Python RepairMincroGame.enterGame方法的具体用法?Python RepairMincroGame.enterGame怎么用?Python RepairMincroGame.enterGame使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RepairMincroGame.RepairMincroGame
的用法示例。
在下文中一共展示了RepairMincroGame.enterGame方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: enterGame
# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import enterGame [as 别名]
def enterGame(self):
RepairMincroGame.enterGame(self)
for (xpos, ypos, piece) in self.iterateCoordsAndPieces():
if not piece.isEmptyPiece():
piece.setEnabled(True)
piece.request('Active')
continue
示例2: enterGame
# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import enterGame [as 别名]
def enterGame(self):
RepairMincroGame.enterGame(self)
taskMgr.add(self.updateTask, 'RepairPitchingGame.updateTask')
self.bucketPouring = False
self.accept('mouse1', self.onMouseDown)
self.accept('mouse1-up', self.onMouseUp)
self.nextSpawnTime = 0.0
示例3: enterGame
# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import enterGame [as 别名]
def enterGame(self):
RepairMincroGame.enterGame(self)
self.lastCompleteCount = 0
taskMgr.add(self.updateTask, 'RepairCareeningGame.updateTask')
self.accept('mouse1', self.onMouseDown)
self.accept('mouse1-up', self.onMouseUp)
if base.mouseWatcherNode.hasMouse() and base.mouseWatcherNode.isButtonDown(MouseButton.one()):
self.onMouseDown()
示例4: enterGame
# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import enterGame [as 别名]
def enterGame(self):
RepairMincroGame.enterGame(self)
self.accept('mouse1', self.onMouseClick)
self.accept('mouse1-up', self.onMouseUp)
taskMgr.add(self.updateTask, 'RepairHammerGame.updateTask')
self.repairGame.mousePicker.setCollisionMask(NAIL_COLLIDE_MASK)
for n in self.currentNails:
n.request('Active')
示例5: enterGame
# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import enterGame [as 别名]
def enterGame(self):
RepairMincroGame.enterGame(self)
taskMgr.add(self.updateTask, 'RepairPumpingGame.updateTask')
self.accept('mouse1', self.onMouseClick)
self.enableGoalBox()
示例6: enterGame
# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import enterGame [as 别名]
def enterGame(self):
RepairMincroGame.enterGame(self)
self.repairGame.mousePicker.setCollisionMask(SAW_COLLIDE_MASK)
self.sawButton.activate()