|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object us.asciiroth.client.core.AbstractPiece us.asciiroth.client.items.AbstractItem us.asciiroth.client.items.TerminusEst
public class TerminusEst
An artifact and a very capable sword. Taken from Gene Wolfe's The Book of the New Sun. Well worth your time to read.
Field Summary | |
---|---|
static Serializer<TerminusEst> |
SERIALIZER
Type serializer. |
Constructor Summary | |
---|---|
TerminusEst()
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getDefiniteNoun(java.lang.String phrase)
Produce the phrase with the {0} token replaced with the name of this item using a definite article. |
java.lang.String |
getIndefiniteNoun(java.lang.String phrase)
Produce the phrase with the {0} token replaced with the name of this item using an indefinite article. |
void |
onFrame(Context ctx,
Cell cell,
int frame)
Animation callback, executed once each frame for each piece animated on the board. |
void |
onHit(Event event,
Cell cell,
Agent agent)
Item has touched an agent either as a result of being thrown against the agent, or as a result of the player walking into the agent while holding the item. |
boolean |
randomSeed()
Should this animation start with a randomly seeded number as its first frame? For some animations, this can prevent all presentations of the piece on the board executing the same animation frame at the same time. |
Methods inherited from class us.asciiroth.client.items.AbstractItem |
---|
onDeselect, onDrop, onFire, onSelect, onSteppedOn, onThrow, onThrowEnd, onUse |
Methods inherited from class us.asciiroth.client.core.AbstractPiece |
---|
getColor, getName, getSymbol, is, not |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface us.asciiroth.client.core.Piece |
---|
getColor, getName, getSymbol, is, not |
Field Detail |
---|
public static final Serializer<TerminusEst> SERIALIZER
Constructor Detail |
---|
public TerminusEst()
Method Detail |
---|
public java.lang.String getDefiniteNoun(java.lang.String phrase)
Item
getDefiniteNoun
in interface Item
getDefiniteNoun
in class AbstractItem
public java.lang.String getIndefiniteNoun(java.lang.String phrase)
Item
getIndefiniteNoun
in interface Item
getIndefiniteNoun
in class AbstractItem
public void onFrame(Context ctx, Cell cell, int frame)
Animated
onFrame
in interface Animated
public void onHit(Event event, Cell cell, Agent agent)
Item
onHit
in interface Item
onHit
in class AbstractItem
public boolean randomSeed()
Animated
randomSeed
in interface Animated
|
0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2009 Alx Dark