public Animal(string _name, AnimalCategories _cartegory, bool fly = false, bool walk = false, bool swim = false, bool crawl = false) { this.Name = _name; this.category = _cartegory; this.CanFly = fly; this.CanWalk = walk; this.CanSwim = swim; this.CanCrawl = crawl; }
public Crocodile(string name, AnimalCategories category) : this(name) { Cathegory = category; }
public Platypus(string name, AnimalCategories category) : this(name) { Cathegory = category; }
public Animal() { this.category = AnimalCategories.Mammal; }
public WildDuck(string name, AnimalCategories category) : this(name) { Cathegory = category; }