diff options
-rw-r--r-- | src/main/java/org/bukkit/entity/Animals.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/entity/Animals.java b/src/main/java/org/bukkit/entity/Animals.java index d0786388..f23db9bc 100644 --- a/src/main/java/org/bukkit/entity/Animals.java +++ b/src/main/java/org/bukkit/entity/Animals.java @@ -4,4 +4,18 @@ package org.bukkit.entity; * Represents an Animal. * */ -public interface Animals extends Creature {} +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); +} |