C# Class spaceconquest.SoundEffectBox

Afficher le fichier Open project: cclay/spaceconquest Class Usage Examples

Méthodes publiques

Méthode Description
PlaySound ( string name ) : void

Options include : "SelectIcon", "Teleport" , "Hosting", "Joining", "MiningShip", "Fighter", "Transport" , "StarCruiser", "ColonyShip"

SoundEffectBox ( Microsoft.Xna.Framework.Content.ContentManager manager, string directory ) : System

Loads static Default sounds Options include : "SelectIcon", "Teleport" , "Hosting", "Joining", "MiningShip", "Fighter", "Transport" , "StarCruiser", "ColonyShip"

Method Details

PlaySound() public méthode

Options include : "SelectIcon", "Teleport" , "Hosting", "Joining", "MiningShip", "Fighter", "Transport" , "StarCruiser", "ColonyShip"
public PlaySound ( string name ) : void
name string
Résultat void

SoundEffectBox() public méthode

Loads static Default sounds Options include : "SelectIcon", "Teleport" , "Hosting", "Joining", "MiningShip", "Fighter", "Transport" , "StarCruiser", "ColonyShip"
public SoundEffectBox ( Microsoft.Xna.Framework.Content.ContentManager manager, string directory ) : System
manager Microsoft.Xna.Framework.Content.ContentManager
directory string
Résultat System