|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tameable
Method Summary | |
---|---|
AnimalTamer |
getOwner()
Gets the current owning AnimalTamer |
boolean |
isTamed()
Check if this is tamed If something is tamed then a player can not tame it through normal methods, even if it does not belong to anyone in particular. |
void |
setOwner(AnimalTamer tamer)
Set this to be owned by given AnimalTamer. |
void |
setTamed(boolean tame)
Sets if this has been tamed. |
Method Detail |
---|
boolean isTamed()
void setTamed(boolean tame)
tame
- true if tameAnimalTamer getOwner()
void setOwner(AnimalTamer tamer)
tamer
- the AnimalTamer who should own this
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |