|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.eventhorizongilde.ehfs.milestone.AbstractMilestone
de.eventhorizongilde.ehfs.milestone.AbstractFilterMilestone
de.eventhorizongilde.ehfs.milestone.AbstractNpcGroupMemberDeadMilestone
public abstract class AbstractNpcGroupMemberDeadMilestone
A milestone that creates line annotations when an NPC group member dies.
To use this class it must be instantiated with the NPC IDs of the group members.
This implementation will not create an annotation for the death of the last group member standing. It is assumed this event happens at the end of a fight anyway.
| Constructor Summary | |
|---|---|
protected |
AbstractNpcGroupMemberDeadMilestone(String legendLabel,
int... npcIds)
Creates a new NPC-group-member-dies milestone. |
| Method Summary | |
|---|---|
protected void |
addAnnotation(String title,
IAnnotation annotation)
Adds an annotation to this milestone's annotation group. |
protected void |
eventHappened(String key,
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. This implementation does nothing. |
| Methods inherited from class de.eventhorizongilde.ehfs.milestone.AbstractFilterMilestone |
|---|
addFilter, addFilter, eventHappened, removeFilter, removeFilter |
| Methods inherited from class de.eventhorizongilde.ehfs.milestone.AbstractMilestone |
|---|
deactivate, getAnnotationGroup, getParseContext, setColorKeyId, setParseContext, toSeconds, toSeconds |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractNpcGroupMemberDeadMilestone(String legendLabel,
int... npcIds)
npcIds - the NPC IDs of the group memberslegendLabel - the label to use in graph legends| Method Detail |
|---|
protected void eventHappened(String key,
CombatEvent event)
eventHappened in class AbstractFilterMilestonekey - the key that a filter has been associated withevent - the fight eventAbstractFilterMilestone.addFilter(String, IEventFilter)
protected void addAnnotation(String title,
IAnnotation annotation)
Adds an annotation to this milestone's annotation group.
Note: The title and the result of
IAnnotation.isLegendIconAsBox()
of the first annotation added are used to create the annotation group
when invoking AbstractMilestone.getAnnotationGroup().
addAnnotation in class AbstractMilestonepublic void fightEnded(long time)
Informs the milestone that parsing of a fight has ended.
This implementation does nothing. Subclasses may override.
fightEnded in interface IMilestonefightEnded in class AbstractMilestone
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||