us.asciiroth.client.effects
Class AbstractEffect
java.lang.Object
us.asciiroth.client.core.AbstractPiece
us.asciiroth.client.effects.AbstractEffect
- All Implemented Interfaces:
- Effect, Piece
- Direct Known Subclasses:
- EnergyCloud, Fade, Fire, Hit, InFlightItem, Open, PoisonCloud, ResistancesCloud, Smash
public abstract class AbstractEffect
- extends AbstractPiece
- implements Effect
Method Summary |
boolean |
isAboveAgent()
Should this effect be displayed above or below an agent if an agent appears
on the same cell? |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEffect
public AbstractEffect(java.lang.String name,
int flags,
Color color,
Symbol symbol)
AbstractEffect
public AbstractEffect(java.lang.String name,
int flags,
Symbol symbol)
isAboveAgent
public boolean isAboveAgent()
- Description copied from interface:
Effect
- Should this effect be displayed above or below an agent if an agent appears
on the same cell?
- Specified by:
isAboveAgent
in interface Effect
- Returns:
- true if this effect should appear above the agent
© 2009 Alx Dark