summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/Animals.java
blob: 960c441f223de03d823a3ed2c2610ac5871c3e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.bukkit.entity;

/**
 * Represents an Animal.
 *
 */
public interface Animals extends Creature {
    /**
     * Gets the age of this animal.
     *
     * @return Age
     */
    public int getAge();

    /**
     * Sets the age of this animal.
     *
     * @param age New age
     */
    public void setAge(int age);
}