|
|||||||||
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.effects.AbstractEffect us.asciiroth.client.effects.Fire
public class Fire
Fire that usually comes as a side-effect of an exploding fireball. As well as doing a lot of damage to most agents, including the player (exceptions include LavaWorms and Thermadons), fire will also melt snow and ice, and burn up trees into tree stumps.
Field Summary | |
---|---|
static Serializer<Fire> |
SERIALIZER
Type serializer. |
Method Summary | |
---|---|
boolean |
isAboveAgent()
Should this effect be displayed above or below an agent if an agent appears on the same cell? |
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.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<Fire> SERIALIZER
Method Detail |
---|
public boolean isAboveAgent()
Effect
isAboveAgent
in interface Effect
isAboveAgent
in class AbstractEffect
public void onFrame(Context ctx, Cell cell, int frame)
Animated
onFrame
in interface Animated
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