us.asciiroth.client.effects
Class AbstractEffect

java.lang.Object
  extended by us.asciiroth.client.core.AbstractPiece
      extended by 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


Constructor Summary
AbstractEffect(java.lang.String name, int flags, Color color, Symbol symbol)
           
AbstractEffect(java.lang.String name, int flags, Symbol symbol)
           
 
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 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
 

Constructor Detail

AbstractEffect

public AbstractEffect(java.lang.String name,
                      int flags,
                      Color color,
                      Symbol symbol)

AbstractEffect

public AbstractEffect(java.lang.String name,
                      int flags,
                      Symbol symbol)
Method Detail

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

0.7

© 2009 Alx Dark