idConverter
Constructor | Description |
---|---|
DefaultTattoo() |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(CMObject o) |
|
Tattoo |
copyOf() |
Similar to Cloneable.clone(), but does its best to make sure that
any internal objects to this class are also copyOfed.
|
boolean |
equals(java.lang.Object o) |
|
long |
expirationDate() |
If this object expires, it should have a timestamp saying when it expires, in real time.
|
java.lang.String |
getTattooName() |
Returns the tattoo Name
|
int |
getTickDown() |
Returns the current tick-down
|
int |
hashCode() |
|
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.
|
Tattoo |
parse(java.lang.String tattooCode) |
Parse a new tattoo object from the
coded data, of the form:
TATOONAME
or
NUMBER TATTOONAME
|
Tattoo |
set(java.lang.String name) |
Set the tattoo name
|
Tattoo |
set(java.lang.String name,
int down) |
Set the tatoo name and tick-down
|
void |
setExpirationDate(long dateTime) |
If this object expires, it should have a timestamp saying when it expires, in real time.
|
void |
setTickDown(int tickDown) |
Sets the current tick down, or resets it
|
java.lang.String |
toString() |
public java.lang.String ID()
CMObject
public java.lang.String name()
CMObject
name
in interface CMObject
Environmental.Name()
public Tattoo set(java.lang.String name)
Tattoo
public Tattoo set(java.lang.String name, int down)
Tattoo
public final void setTickDown(int tickDown)
Tattoo
setTickDown
in interface Tattoo
tickDown
- the tickDownpublic final int getTickDown()
Tattoo
getTickDown
in interface Tattoo
public final java.lang.String getTattooName()
Tattoo
getTattooName
in interface Tattoo
public java.lang.String toString()
toString
in class java.lang.Object
public Tattoo copyOf()
CMObject
public int compareTo(CMObject o)
compareTo
in interface java.lang.Comparable<CMObject>
public CMObject newInstance()
CMObject
newInstance
in interface CMObject
public void initializeClass()
CMObject
initializeClass
in interface CMObject
public long expirationDate()
Expireable
expirationDate
in interface Expireable
Expireable.setExpirationDate(long)
public void setExpirationDate(long dateTime)
Expireable
setExpirationDate
in interface Expireable
dateTime
- the time stamp when this thing expiresExpireable.expirationDate()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public Tattoo parse(java.lang.String tattooCode)
Tattoo
public int hashCode()
hashCode
in class java.lang.Object