de.eventhorizongilde.ehfs.milestone.filter
Class AbstractUnitFilter

java.lang.Object
  extended by de.eventhorizongilde.ehfs.milestone.filter.AbstractUnitFilter
All Implemented Interfaces:
IEventFilter

public abstract class AbstractUnitFilter
extends Object
implements IEventFilter

An event filter that only matches if the source or destination of an event matches.

The actual "match" is determined by subclasses. This class is responsible for selecting the desired unit of the event (ie. source or destination.)


Constructor Summary
AbstractUnitFilter(EventUnit eventUnit)
           
 
Method Summary
 EventUnit getEventUnit()
          Returns which unit of fight events this filter selects.
protected  IUnit getUnit(CombatEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.eventhorizongilde.ehfs.milestone.filter.IEventFilter
isMatch
 

Constructor Detail

AbstractUnitFilter

public AbstractUnitFilter(EventUnit eventUnit)
Method Detail

getUnit

protected IUnit getUnit(CombatEvent event)

getEventUnit

public EventUnit getEventUnit()
Returns which unit of fight events this filter selects.



Event Horizon Fight Statistics