public class WolfDisguise extends AgeableDisguise
Constructor and Description |
---|
WolfDisguise()
Creates an instance.
|
WolfDisguise(boolean adult,
org.bukkit.DyeColor collarColor,
boolean tamed,
boolean angry)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
WolfDisguise |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one.
|
org.bukkit.DyeColor |
getCollarColor()
Returns the collar color.
|
boolean |
isAngry()
Gets whether the wolf is angry.
|
boolean |
isTamed()
Gets whether the wolf is tamed.
|
void |
setAngry(boolean angry)
Sets whether the wolf is angry.
|
void |
setCollarColor(org.bukkit.DyeColor collarColor)
Sets the collar color.
|
void |
setTamed(boolean tamed)
Sets whether the wolf is tamed.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
isAdult, setAdult
getCustomName, setCustomName
public WolfDisguise()
public WolfDisguise(boolean adult, org.bukkit.DyeColor collarColor, boolean tamed, boolean angry)
adult
- should the disguise be an adultcollarColor
- the collar colortamed
- should the wolf be tamedangry
- should the wolf be angrypublic org.bukkit.DyeColor getCollarColor()
public void setCollarColor(org.bukkit.DyeColor collarColor)
collarColor
- the collar colorpublic boolean isTamed()
true
if the wolf is tamedpublic void setTamed(boolean tamed)
tamed
- should the wolf be tamedpublic boolean isAngry()
true
if the wolf is angrypublic void setAngry(boolean angry)
angry
- should the wolf be angrypublic WolfDisguise clone()
clone
in class AgeableDisguise
public boolean equals(java.lang.Object object)
equals
in class AgeableDisguise
true
if this object is the same as the object
argument; false
otherwisepublic java.lang.String toString()
toString
in class AgeableDisguise