|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.asciiroth.client.agents.AgentProxy
us.asciiroth.client.agents.Paralyzed
public class Paralyzed
An AgentProxy decorator that renders the underlying agent paralyzed.
Field Summary | |
---|---|
static Serializer<Paralyzed> |
SERIALIZER
Type serializer. |
Constructor Summary | |
---|---|
Paralyzed(Agent agent)
Constructor. |
Method Summary | |
---|---|
Symbol |
getSymbol()
The symbol to display for this piece. |
void |
onFrame(Context ctx,
Cell cell,
int frame)
Animation callback, executed once each frame for each piece animated on the board. |
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.agents.AgentProxy |
---|
canEnter, changeHealth, getAgent, getColor, getName, is, not, onDie, onHit, onHitBy, onHitBy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Serializer<Paralyzed> SERIALIZER
Constructor Detail |
---|
public Paralyzed(Agent agent)
agent
- Method Detail |
---|
public Symbol getSymbol()
Piece
getSymbol
in interface Piece
getSymbol
in class AgentProxy
public void onFrame(Context ctx, Cell cell, int frame)
Animated
onFrame
in interface Animated
onFrame
in class AgentProxy
public boolean randomSeed()
Animated
|
0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2009 Alx Dark