CMCommon, CMObject, Tattooable, java.lang.Cloneable, java.lang.Comparable<CMObject>public class DefaultTattooable extends java.lang.Object implements Tattooable, CMCommon
| Modifier and Type | Field | Description |
|---|---|---|
protected CMUniqNameSortSVec<Tattoo> |
tattoos |
idConverter| Constructor | Description |
|---|---|
DefaultTattooable() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addTattoo(Tattoo of) |
Add a new tattoo to this object
|
void |
addTattoo(java.lang.String of) |
Manipulation of the tatoo list
|
void |
addTattoo(java.lang.String of,
int tickDown) |
Add a new tattoo to this object
|
int |
compareTo(CMObject o) |
|
Tattooable |
copyOf() |
Similar to Cloneable.clone(), but does its best to make sure that
any internal objects to this class are also copyOfed.
|
void |
delTattoo(Tattoo of) |
Remove a specific tattoo from this object
|
boolean |
delTattoo(java.lang.String of) |
Remove a specific tattoo from this object
|
Tattoo |
findTattoo(java.lang.String of) |
Returns the tattoo of the given marker name
|
Tattoo |
findTattooStartsWith(java.lang.String of) |
Returns the tattoo that starts with the given marker name
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
void |
initializeClass() |
Called ONCE after all objects are loaded, but before the map is read in
during initialization.
|
java.lang.String |
name() |
The displayable name of this object.
|
CMObject |
newInstance() |
Returns a new instance of this class.
|
java.util.Enumeration<Tattoo> |
tattoos() |
Returns an enumeration of all the tattoos on this object.
|
protected CMUniqNameSortSVec<Tattoo> tattoos
public java.lang.String ID()
CMObjectpublic java.lang.String name()
CMObjectname in interface CMObjectEnvironmental.Name()public Tattooable copyOf()
CMObjectpublic int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>public CMObject newInstance()
CMObjectnewInstance in interface CMObjectpublic void initializeClass()
CMObjectinitializeClass in interface CMObjectpublic void addTattoo(java.lang.String of)
addTattoo in interface Tattooableof - the permanent tattoo name to addTattooable,
Tattooable.addTattoo(String, int),
Tattooable.addTattoo(Tattoo)public void addTattoo(java.lang.String of,
int tickDown)
TattooableaddTattoo in interface Tattooableof - the permanent tattoo name to addtickDown - the ticks of life for this tattooTattooable,
Tattooable.addTattoo(String),
Tattooable.addTattoo(Tattoo)public boolean delTattoo(java.lang.String of)
TattooabledelTattoo in interface Tattooableof - the tattoo name of the tattoo to removeTattooable,
Tattooable.delTattoo(Tattoo)public void addTattoo(Tattoo of)
TattooableaddTattoo in interface Tattooableof - the tattoo object to addTattooable,
Tattooable.addTattoo(String, int),
Tattooable.addTattoo(String)public void delTattoo(Tattoo of)
TattooabledelTattoo in interface Tattooableof - the tattoo object to removeTattooable,
Tattooable.delTattoo(String)public java.util.Enumeration<Tattoo> tattoos()
Tattooabletattoos in interface TattooableTattooablepublic Tattoo findTattoo(java.lang.String of)
TattooablefindTattoo in interface Tattooableof - the marker name to return a tattoo forTattooable,
Tattooable.findTattooStartsWith(String)public Tattoo findTattooStartsWith(java.lang.String of)
TattooablefindTattooStartsWith in interface Tattooableof - the marker name to return a tattoo starter forTattooable,
Tattooable.findTattoo(String)