Beispiel #1
0
 public Phone(IPlaySoundStrategy playSoundStrategy)
 {
     PlaySoundStrategy = playSoundStrategy;
 }
Beispiel #2
0
 public Computer(IPlaySoundStrategy playSoundStrategy)
 {
     PlaySoundStrategy = playSoundStrategy;
     PlaySound("*звук включения компьютера*");
 }