de.eventhorizongilde.ehfs.milestone
Interface IMilestone

All Known Implementing Classes:
AbstractFilterMilestone, AbstractMilestone, AbstractNpcGroupMemberDeadMilestone, AbstractNpcJoinsMilestone, AbstractUnitAuraMilestone

public interface IMilestone

A graph milestone. Milestones are objects that are displayed on graphs. They can be used to highlight certain events of a fight, such as a fight phase change, a boss using a special spell, a shaman popping Bloodlust/Heroism, and similar things.

Milestones themselves do not describe their appearance. Instead, they need to provide an AnnotationGroup that does that.

Milestones are created on-demand per single fight parse.


Method Summary
 void eventHappened(CombatEvent event)
          Informs the milestone that an event happened during the fight.
 void fightEnded(long time)
          Informs the milestone that parsing of a fight has ended.
 AnnotationGroup getAnnotationGroup()
          Returns an annotation group containing all annotations created by this milestone.
 void setColorKeyId(String colorKeyId)
          Sets the color key to use for creating the annotation group.
 void setParseContext(IParseContext context)
          Sets the parse context for the current fight.
 

Method Detail

setColorKeyId

void setColorKeyId(String colorKeyId)
Sets the color key to use for creating the annotation group. Colors keys are special IDs that describe a color's meaning. This is mainly used for the user interface so that a user can assign a color to a color key.


setParseContext

void setParseContext(IParseContext context)
Sets the parse context for the current fight.


eventHappened

void eventHappened(CombatEvent event)
Informs the milestone that an event happened during the fight.


fightEnded

void fightEnded(long time)
Informs the milestone that parsing of a fight has ended.


getAnnotationGroup

AnnotationGroup getAnnotationGroup()
Returns an annotation group containing all annotations created by this milestone.



Event Horizon Fight Statistics