Esempio n. 1
0
 public override void PressAudioSource(AudioPlayer player)
 {
     player.CurrentState = new RadioState();
 }
Esempio n. 2
0
 public override void PressPlay(AudioPlayer player)
 {
     player.CurrentState = new MP3PlayingState();
 }
Esempio n. 3
0
 public abstract void PressPlay(AudioPlayer player);
Esempio n. 4
0
 public abstract void PressAudioSource(AudioPlayer player);
Esempio n. 5
0
 public override void PressPlay(AudioPlayer player)
 {
     Console.WriteLine("Play pressed: No effect");
 }
Esempio n. 6
0
 public override void PressPlay(AudioPlayer player)
 {
     Console.WriteLine("Play pressed: New station selected");
 }