C# Class FlatRedBall.Audio.Sound

显示文件 Open project: vchelaru/FlatRedBall

Public Properties

Property Type Description
Variables SoundVariableCollection

Protected Properties

Property Type Description
mCue Microsoft.Xna.Framework.Audio.Cue
mCueName String
mSoundBankFile string

Private Properties

Property Type Description
Sound System

Public Methods

Method Description
Pause ( ) : void

Pauses playback of this sound

Play ( ) : void

Begins playback of this sound, or resumes playback (if it has been paused)

Stop ( ) : void

Stops playing this sound as authored

StopAsAuthored ( ) : void

Stops playing this sound as authored in the XACT project

StopImmediately ( ) : void

Stops playing this sound immediately

Private Methods

Method Description
Sound ( Cue cue, String cueName, string soundBankFile ) : System

Method Details

Pause() public method

Pauses playback of this sound
public Pause ( ) : void
return void

Play() public method

Begins playback of this sound, or resumes playback (if it has been paused)
public Play ( ) : void
return void

Stop() public method

Stops playing this sound as authored
public Stop ( ) : void
return void

StopAsAuthored() public method

Stops playing this sound as authored in the XACT project
public StopAsAuthored ( ) : void
return void

StopImmediately() public method

Stops playing this sound immediately
public StopImmediately ( ) : void
return void

Property Details

Variables public_oe property

public SoundVariableCollection,FlatRedBall.Audio Variables
return SoundVariableCollection

mCue protected_oe property

protected Cue,Microsoft.Xna.Framework.Audio mCue
return Microsoft.Xna.Framework.Audio.Cue

mCueName protected_oe property

protected String mCueName
return String

mSoundBankFile protected_oe property

protected string mSoundBankFile
return string