C# Class MilkShakeFramework.Core.Game.Components.Audio.Sound

Inheritance: GameEntity
Afficher le fichier Open project: lucas-jones/MilkShake-old

Méthodes publiques

Méthode Description
Destroy ( ) : void
Draw ( ) : void
FixUp ( ) : void
Load ( LoadManager content ) : void
Play ( ) : void
SetSoundForCamera ( SoundEffectInstance sound, Vector2 position, float baseVolume ) : bool
Sound ( String url, bool autoPlay = true, bool isLooped = true, bool is3D = false ) : System
Stop ( ) : void
TearDown ( ) : void
Update ( Microsoft gameTime ) : void

Method Details

Destroy() public méthode

public Destroy ( ) : void
Résultat void

Draw() public méthode

public Draw ( ) : void
Résultat void

FixUp() public méthode

public FixUp ( ) : void
Résultat void

Load() public méthode

public Load ( LoadManager content ) : void
content MilkShakeFramework.Core.Content.LoadManager
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

SetSoundForCamera() public méthode

public SetSoundForCamera ( SoundEffectInstance sound, Vector2 position, float baseVolume ) : bool
sound Microsoft.Xna.Framework.Audio.SoundEffectInstance
position Vector2
baseVolume float
Résultat bool

Sound() public méthode

public Sound ( String url, bool autoPlay = true, bool isLooped = true, bool is3D = false ) : System
url String
autoPlay bool
isLooped bool
is3D bool
Résultat System

Stop() public méthode

public Stop ( ) : void
Résultat void

TearDown() public méthode

public TearDown ( ) : void
Résultat void

Update() public méthode

public Update ( Microsoft gameTime ) : void
gameTime Microsoft
Résultat void