프로퍼티 | 타입 | 설명 | |
---|---|---|---|
backgroundMusicCategory | Microsoft.Xna.Framework.Audio.AudioCategory | ||
engine | |||
gunshotCategory | Microsoft.Xna.Framework.Audio.AudioCategory | ||
sfxCue | |||
soundEffectCategory | Microsoft.Xna.Framework.Audio.AudioCategory | ||
sounds | |||
waves |
메소드 | 설명 | |
---|---|---|
AudioManager ( ) : System | ||
playBackgroundMusic ( string currentLevel ) : void |
This will basically stop any background music that is playing, then will select the new sound file based on the name of the current level
|
|
playFirstBackgroundMusic ( |
This method will play the first set of music for the game
|
|
playSoundEffect ( string cueName ) : void |
This will play sound effects.. YAY!!! (based on the string cueName)
|
public playBackgroundMusic ( string currentLevel ) : void | ||
currentLevel | string | passed from Level (levelNum) |
리턴 | void |
public playFirstBackgroundMusic ( |
||
backgroundCue | created cue that is attributed to specific sound | |
리턴 | void |
public playSoundEffect ( string cueName ) : void | ||
cueName | string | the name of the cue that the XACT file attributes to the sound file |
리턴 | void |
public AudioCategory,Microsoft.Xna.Framework.Audio backgroundMusicCategory | ||
리턴 | Microsoft.Xna.Framework.Audio.AudioCategory |
public AudioEngine,Microsoft.Xna.Framework.Audio engine | ||
리턴 |
public AudioCategory,Microsoft.Xna.Framework.Audio gunshotCategory | ||
리턴 | Microsoft.Xna.Framework.Audio.AudioCategory |
public Cue,Microsoft.Xna.Framework.Audio sfxCue | ||
리턴 |
public AudioCategory,Microsoft.Xna.Framework.Audio soundEffectCategory | ||
리턴 | Microsoft.Xna.Framework.Audio.AudioCategory |
public SoundBank,Microsoft.Xna.Framework.Audio sounds | ||
리턴 |