static void onDuckWantEat(Duck creature) { Console.WriteLine("{0} is hungry! Level: {1}", creature.Name, creature.Hunger); creature.Feed(); }
static void doStarBehavior(Duck x) { x.Krya(); x.Krya(); x.Krya(); }
static void onDuckWantEat(Duck creature) { Console.WriteLine("{0} is hungry! Level: {1}", creature.Name, creature.Hunger); creature.Feed(); }
static void doStarBehavior(Duck x) { x.Krya(); x.Krya(); x.Krya(); }