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