Exemple #1
0
 public XnaMusic(string filename, XnaSoundDevice device)
     : base(filename, device)
 {
     music = device.Content.Load<Song>(filename);
 }
		public XnaMusic(string filename, XnaSoundDevice device, ContentManager contentManager)
			: base(filename, device)
		{
			this.contentManager = contentManager;
		}
Exemple #3
0
 public XnaSound(string filename, XnaSoundDevice device)
     : base(filename, device)
 {
     effect = device.Content.Load<SoundEffect>(filename);
 }