C# Class MrGravity.MISC_Code.GameSound

显示文件 Open project: DizWARE/Mr-Gravity

Public Properties

Property Type Description
GameMusicGeneric Microsoft.Xna.Framework.Audio.SoundEffectInstance
LevelGravityShiftDown Microsoft.Xna.Framework.Audio.SoundEffect
LevelGravityShiftLeft Microsoft.Xna.Framework.Audio.SoundEffect
LevelGravityShiftRight Microsoft.Xna.Framework.Audio.SoundEffect
LevelGravityShiftUp Microsoft.Xna.Framework.Audio.SoundEffect
LevelStageFail Microsoft.Xna.Framework.Audio.SoundEffectInstance
LevelStageFailSource Microsoft.Xna.Framework.Audio.SoundEffect
LevelStageVictory Microsoft.Xna.Framework.Audio.SoundEffectInstance
LevelStageVictorySource Microsoft.Xna.Framework.Audio.SoundEffect
MenuMusicTitle Microsoft.Xna.Framework.Audio.SoundEffectInstance
MenuSoundRollover Microsoft.Xna.Framework.Audio.SoundEffect
MenuSoundSelect Microsoft.Xna.Framework.Audio.SoundEffect
MenuSoundWoosh Microsoft.Xna.Framework.Audio.SoundEffect
MusicLevel00 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel01 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel02 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel03 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel04 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel05 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel06 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel07 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel08 Microsoft.Xna.Framework.Audio.SoundEffectInstance
MusicLevel09 Microsoft.Xna.Framework.Audio.SoundEffectInstance
PlayerColCollectable Microsoft.Xna.Framework.Audio.SoundEffect
PlayerColWall Microsoft.Xna.Framework.Audio.SoundEffect
PlayerSoundDeath Microsoft.Xna.Framework.Audio.SoundEffect
PlayerSoundRespawn Microsoft.Xna.Framework.Audio.SoundEffect
Volume float

Public Methods

Method Description
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
SetGeneric ( SoundEffectInstance generic ) : void
StopOthersAndPlay ( SoundEffectInstance music ) : void
StopOthersAndPlay ( SoundEffectInstance music, float volumeMultiplier ) : void

Private Methods

Method Description
StopMusic ( ) : void

Method Details

Load() public static method

public static Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

SetGeneric() public static method

public static SetGeneric ( SoundEffectInstance generic ) : void
generic Microsoft.Xna.Framework.Audio.SoundEffectInstance
return void

StopOthersAndPlay() public static method

public static StopOthersAndPlay ( SoundEffectInstance music ) : void
music Microsoft.Xna.Framework.Audio.SoundEffectInstance
return void

StopOthersAndPlay() public static method

public static StopOthersAndPlay ( SoundEffectInstance music, float volumeMultiplier ) : void
music Microsoft.Xna.Framework.Audio.SoundEffectInstance
volumeMultiplier float
return void

Property Details

GameMusicGeneric public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio GameMusicGeneric
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

LevelGravityShiftDown public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio LevelGravityShiftDown
return Microsoft.Xna.Framework.Audio.SoundEffect

LevelGravityShiftLeft public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio LevelGravityShiftLeft
return Microsoft.Xna.Framework.Audio.SoundEffect

LevelGravityShiftRight public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio LevelGravityShiftRight
return Microsoft.Xna.Framework.Audio.SoundEffect

LevelGravityShiftUp public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio LevelGravityShiftUp
return Microsoft.Xna.Framework.Audio.SoundEffect

LevelStageFail public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio LevelStageFail
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

LevelStageFailSource public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio LevelStageFailSource
return Microsoft.Xna.Framework.Audio.SoundEffect

LevelStageVictory public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio LevelStageVictory
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

LevelStageVictorySource public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio LevelStageVictorySource
return Microsoft.Xna.Framework.Audio.SoundEffect

MenuMusicTitle public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MenuMusicTitle
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MenuSoundRollover public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio MenuSoundRollover
return Microsoft.Xna.Framework.Audio.SoundEffect

MenuSoundSelect public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio MenuSoundSelect
return Microsoft.Xna.Framework.Audio.SoundEffect

MenuSoundWoosh public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio MenuSoundWoosh
return Microsoft.Xna.Framework.Audio.SoundEffect

MusicLevel00 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel00
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel01 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel01
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel02 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel02
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel03 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel03
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel04 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel04
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel05 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel05
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel06 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel06
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel07 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel07
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel08 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel08
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

MusicLevel09 public_oe static_oe property

public static SoundEffectInstance,Microsoft.Xna.Framework.Audio MusicLevel09
return Microsoft.Xna.Framework.Audio.SoundEffectInstance

PlayerColCollectable public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio PlayerColCollectable
return Microsoft.Xna.Framework.Audio.SoundEffect

PlayerColWall public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio PlayerColWall
return Microsoft.Xna.Framework.Audio.SoundEffect

PlayerSoundDeath public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio PlayerSoundDeath
return Microsoft.Xna.Framework.Audio.SoundEffect

PlayerSoundRespawn public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio PlayerSoundRespawn
return Microsoft.Xna.Framework.Audio.SoundEffect

Volume public_oe static_oe property

public static float Volume
return float