IAnimal Interface

Definition

This is basic interface of all animal.

public interface IAnimal
Derived
CatLibrary.Cat<T,K>
CatLibrary.ICat

Properties

Item[Int32]

Return specific number animal's name.

Name

Name of Animal.

Methods

Eat()

Animal's eat method.

Eat(String)

Feed the animal with some food

Eat<Tool>(Tool)

Overload method of eat. This define the animal eat by which tool.

Applies to