public class OcelotDisguise extends AgeableDisguise
Constructor and Description |
---|
OcelotDisguise()
Creates an instance.
|
OcelotDisguise(org.bukkit.entity.Ocelot.Type catType,
boolean adult)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
OcelotDisguise |
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.entity.Ocelot.Type |
getCatType()
Gets the cat type.
|
void |
setCatType(org.bukkit.entity.Ocelot.Type catType)
Sets the cat type.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
isAdult, setAdult
getCustomName, setCustomName
public OcelotDisguise()
public OcelotDisguise(org.bukkit.entity.Ocelot.Type catType, boolean adult)
catType
- the cat typeadult
- should the disguise be an adultpublic org.bukkit.entity.Ocelot.Type getCatType()
public void setCatType(org.bukkit.entity.Ocelot.Type catType)
catType
- the cat typepublic OcelotDisguise 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