当前位置: 首页>>代码示例>>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;未经允许,请勿转载。