當前位置: 首頁>>代碼示例>>Python>>正文


Python RepairMincroGame.enterGame方法代碼示例

本文整理匯總了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
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:9,代碼來源:RepairBracingGame.py

示例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
開發者ID:XamarinDeveloper,項目名稱:Pirates-Online-Source,代碼行數:9,代碼來源:RepairPitchingGame.py

示例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()
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:10,代碼來源:RepairCareeningGame.py

示例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')
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:10,代碼來源:RepairHammeringGame.py

示例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()
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:7,代碼來源:RepairPumpingGame.py

示例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()
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:6,代碼來源:RepairSawingGame.py


注:本文中的RepairMincroGame.RepairMincroGame.enterGame方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。