|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object us.asciiroth.client.core.BaseSerializer<T> us.asciiroth.client.agents.npc.NPCSerializer<T>
T
- public abstract class NPCSerializer<T extends NPC>
Somewhat simplifies the NPC serializers, which hold the most state of any piece in the game.
Constructor Summary | |
---|---|
NPCSerializer()
|
Method Summary | |
---|---|
java.lang.String |
getTag()
A category to file this piece under in the editor. |
java.lang.String |
store(T a)
Create a string representation of this piece, referred to in the code as a "key". |
java.lang.String |
template(java.lang.String type)
Provide a template string that can be used by the editor to guide the creation of a valid instance of this type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface us.asciiroth.client.core.Serializer |
---|
create, example |
Constructor Detail |
---|
public NPCSerializer()
Method Detail |
---|
public java.lang.String getTag()
Serializer
getTag
in interface Serializer<T extends NPC>
public java.lang.String store(T a)
Serializer
store
in interface Serializer<T extends NPC>
public java.lang.String template(java.lang.String type)
Serializer
template
in interface Serializer<T extends NPC>
|
0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2009 Alx Dark