C# Class spaceconquest.SoundEffectBox

Datei anzeigen Open project: cclay/spaceconquest Class Usage Examples

Public Methods

Method 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 method

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

SoundEffectBox() public method

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
return System