C# Class EzGame.Sound

Afficher le fichier Open project: CodeTreeCommunity/Shooter2D

Méthodes publiques

Свойство Type Description
Channels Microsoft.Xna.Framework.Audio.SoundEffectInstance[]

Méthodes publiques

Méthode Description
Get ( string Path ) : SoundEffect
Initialize ( int Channels ) : void
Load ( string Path ) : void
Loop ( ushort Channel, bool Value ) : bool
Looped ( ushort Channel ) : bool?
Pause ( string Path ) : bool
Pause ( ushort Channel ) : bool
Play ( string Path ) : ushort?
Play ( string Path, bool Loop ) : ushort?
Play ( string Path, bool Loop, float Volume ) : ushort?
Stop ( string Path ) : bool
Stop ( ushort Channel ) : bool
Unload ( string Path ) : void
Volume ( ushort Channel, float Value ) : bool
Volume ( ushort Channel ) : float?

Method Details

Get() public static méthode

public static Get ( string Path ) : SoundEffect
Path string
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

Initialize() public static méthode

public static Initialize ( int Channels ) : void
Channels int
Résultat void

Load() public static méthode

public static Load ( string Path ) : void
Path string
Résultat void

Loop() public static méthode

public static Loop ( ushort Channel, bool Value ) : bool
Channel ushort
Value bool
Résultat bool

Looped() public static méthode

public static Looped ( ushort Channel ) : bool?
Channel ushort
Résultat bool?

Pause() public static méthode

public static Pause ( string Path ) : bool
Path string
Résultat bool

Pause() public static méthode

public static Pause ( ushort Channel ) : bool
Channel ushort
Résultat bool

Play() public static méthode

public static Play ( string Path ) : ushort?
Path string
Résultat ushort?

Play() public static méthode

public static Play ( string Path, bool Loop ) : ushort?
Path string
Loop bool
Résultat ushort?

Play() public static méthode

public static Play ( string Path, bool Loop, float Volume ) : ushort?
Path string
Loop bool
Volume float
Résultat ushort?

Stop() public static méthode

public static Stop ( string Path ) : bool
Path string
Résultat bool

Stop() public static méthode

public static Stop ( ushort Channel ) : bool
Channel ushort
Résultat bool

Unload() public static méthode

public static Unload ( string Path ) : void
Path string
Résultat void

Volume() public static méthode

public static Volume ( ushort Channel, float Value ) : bool
Channel ushort
Value float
Résultat bool

Volume() public static méthode

public static Volume ( ushort Channel ) : float?
Channel ushort
Résultat float?

Property Details

Channels public_oe static_oe property

public static SoundEffectInstance[],Microsoft.Xna.Framework.Audio Channels
Résultat Microsoft.Xna.Framework.Audio.SoundEffectInstance[]