Beispiel #1
0
 public void LeaveAlone()
 {
     Console.WriteLine("[Angry] Besser so ...");
     _dog.SetCurrentMood(new Neutral(_dog));
 }
Beispiel #2
0
 public void LeaveAlone()
 {
     Console.WriteLine("[Happy] Stop, wo willst du hin?");
     _dog.SetCurrentMood(new Angry(_dog));
 }
Beispiel #3
0
 public void LeaveAlone()
 {
     Console.WriteLine("[Neutral] Ich lasse in Ruhe ...");
     _dog.SetCurrentMood(new Angry(_dog));
 }