コード例 #1
0
 public float GetSoundVolume()
 {
     strategy = new WAVSoundsStrategy(soundEffectsList);
     return(strategy.GetMasterVolume());
 }
コード例 #2
0
 public float GetMusicVolume()
 {
     strategy = new MP3SongsStrategy(songsList);
     return(strategy.GetMasterVolume());
 }