示例#1
0
 public Sound()
 {
     this._soundManager   = SoundManager.DefaultSoundManager;
     this._strategy       = this._soundManager.CreateSoundStrategy();
     this._strategy.Sound = this;
     this.Init();
     this._soundManager.SoundCreated(this);
 }
示例#2
0
 public Sound()
 {
     this._soundManager = SoundManager.DefaultSoundManager;
     this._strategy = this._soundManager.CreateSoundStrategy();
     this._strategy.Sound = this;
     this.Init();
     this._soundManager.SoundCreated(this);
 }