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