Added new set/get age methods to Animals
This commit is contained in:
parent
e8004b0494
commit
c4f220b3ee
@ -4,4 +4,18 @@ package org.bukkit.entity;
|
|||||||
* Represents an Animal.
|
* 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);
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user