Example #1
0
 public Sound(string fileName, bool looping, float level)
 {
     _fileName = fileName;
     _loop     = looping;
     _volume   = level;
     ResoruceManger.LoadSound(this);
 }
Example #2
0
 public void Play()
 {
     ResoruceManger.PlaySound(this);
 }