public void Swim()
 {
     try {
         SwimBehaviour.Swim();
     } catch (Exception ex) {
         Console.WriteLine(ex.Message.ToString());
     }
 }
Exemple #2
0
 public Fish()
 {
     locomotionBehaviour = new SwimBehaviour();
 }