13
0
geforkt von Mirrors/Paper

Added new set/get age methods to Animals

By: Nathan Adams <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-11-24 20:16:16 +00:00
Ursprung d29402070b
Commit 34f857ad15

Datei anzeigen

@ -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);
}