Пример #1
0
 public void doAction(Horse horse)
 {
     Results.text += "\n" + horse.name + " Была избрана для скачек ";
 }
Пример #2
0
 public void treatment(Horse horse)
 {
     Results.text += "\nЛошадь " + horse.name + " была вылечена ветеринаром";
     horse.setState(new SelectedForRace());
 }
Пример #3
0
 public void doAction(Horse horse)
 {
     Results.text += "\n" + horse.name + " Не используется ";
 }
Пример #4
0
 public void doAction(Horse horse)
 {
     Results.text += "\n" + horse.name + " Победила ";
 }
Пример #5
0
 public void addMember(Horse horse)
 {
     horsers.Add(new HorseInCompetition(horse, new Jockey("Жокей: " + horse.name)));
     horse.setState(new SelectedForRace());
 }