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


Python RepairMincroGame._initAudio方法代碼示例

本文整理匯總了Python中RepairMincroGame.RepairMincroGame._initAudio方法的典型用法代碼示例。如果您正苦於以下問題:Python RepairMincroGame._initAudio方法的具體用法?Python RepairMincroGame._initAudio怎麽用?Python RepairMincroGame._initAudio使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在RepairMincroGame.RepairMincroGame的用法示例。


在下文中一共展示了RepairMincroGame._initAudio方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: _initAudio

# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
 def _initAudio(self):
     RepairMincroGame._initAudio(self)
     if not self.pumpDownSounds:
         RepairPumpingGame.pumpDownSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_DOWN01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_DOWN02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_DOWN03))
         RepairPumpingGame.pumpUpSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_UP01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_UP02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_UP03))
         RepairPumpingGame.pumpGoodSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD03), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD04), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD05), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_GOOD06))
         RepairPumpingGame.pumpBadSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PUMP_BAD),)
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:9,代碼來源:RepairPumpingGame.py

示例2: _initAudio

# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
 def _initAudio(self):
     RepairMincroGame._initAudio(self)
     if not self.hammerComplete:
         RepairHammeringGame.hammerComplete = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_COMPLETE)
         RepairHammeringGame.weakHammerSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_WEAKHIT01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_WEAKHIT02))
         RepairHammeringGame.normalHammerSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_HIT01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_HIT02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_HIT03))
         RepairHammeringGame.perfectHammerSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_HAMMER_PERFECT)
         RepairHammeringGame.failSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_FAIL)
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:10,代碼來源:RepairHammeringGame.py

示例3: _initAudio

# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
 def _initAudio(self):
     RepairMincroGame._initAudio(self)
     if not self.scrubSounds:
         RepairCareeningGame.scrubSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB03), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB04), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB05), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB06), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB07), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_SCRUB08))
         for sound in RepairCareeningGame.scrubSounds:
             sound.setVolume(0.75)
         
         RepairCareeningGame.powerFullSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_CHRGCOMP)
         RepairCareeningGame.powerFullSound.setVolume(0.75)
         RepairCareeningGame.powerEmptySound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_CAREEN_CHRGEMPTY)
         RepairCareeningGame.powerEmptySound.setVolume(0.75)
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:13,代碼來源:RepairCareeningGame.py

示例4: _initAudio

# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
 def _initAudio(self):
     if not self.moveSound:
         RepairBracingGame.moveSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_BRACE_PIECEMOVE)
         RepairBracingGame.lineCompleteSound = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_BRACE_LINECOMPLETE)
     
     RepairMincroGame._initAudio(self)
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:8,代碼來源:RepairBracingGame.py

示例5: _initAudio

# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
 def _initAudio(self):
     RepairMincroGame._initAudio(self)
     if not self.sawSounds:
         RepairSawingGame.sawSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_INOUT01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_INOUT02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_INOUT03), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_INOUT04))
         RepairSawingGame.boardComplete = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_COMPLETE)
         RepairSawingGame.boardDestroyed = loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_SAW_FAIL)
開發者ID:Puggyblue999,項目名稱:PiratesOfTheCarribeanOnline,代碼行數:8,代碼來源:RepairSawingGame.py

示例6: _initAudio

# 需要導入模塊: from RepairMincroGame import RepairMincroGame [as 別名]
# 或者: from RepairMincroGame.RepairMincroGame import _initAudio [as 別名]
 def _initAudio(self):
     RepairMincroGame._initAudio(self)
     self.pitchSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_PLUG01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_PLUG02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_PLUG03))
     self.leakSounds = (loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_LEAK01), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_LEAK02), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_LEAK03), loadSfx(SoundGlobals.SFX_MINIGAME_REPAIR_PITCH_LEAK04))
開發者ID:XamarinDeveloper,項目名稱:Pirates-Online-Source,代碼行數:6,代碼來源:RepairPitchingGame.py


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