|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tattoo
Tattoos are arbitrary markers or flags. They server no other purpose other than to be checked by other things for their existence. They can automatically expire by setting a tick down, or a number of ticks to live.
Method Summary | |
---|---|
java.lang.String |
getTattooName()
Returns the tattoo Name |
int |
getTickDown()
Returns the current tick-down |
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 |
int |
tickDown()
Reduces the tick down by one and returns the new value |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
---|
copyOf, ID, initializeClass, name, newInstance |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
Tattoo set(java.lang.String name)
name
- the tattoo name
Tattoo set(java.lang.String name, int down)
name
- the tatoo namedown
- the tick down life span
int getTickDown()
int tickDown()
java.lang.String getTattooName()
Tattoo parse(java.lang.String tattooCode)
tattooCode
- coded data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |