public void Fly()
 {
     try {
         FlyBehaviour.Fly();
     } catch (Exception ex) {
         Console.WriteLine(ex.Message.ToString());
     }
 }
Пример #2
0
 public void PerformFly()
 {
     FlyBehaviour.Fly();
 }
Пример #3
0
 public Hawk()
 {
     locomotionBehaviour = new FlyBehaviour();
 }