java.lang.Object com.realtime.crossfire.jxclient.skin.events.SkillRemovedSkinEvent
public class SkillRemovedSkinEvent
A SkinEvent
that executes a CommandList
whenever a new skill
has been lost.
Field Summary | |
---|---|
private CommandList |
commandList
The CommandList to execute. |
private Skill |
skill
The Skill to monitor. |
private SkillListener |
skillListener
The SkillListener attached to skill . |
Constructor Summary | |
---|---|
SkillRemovedSkinEvent(CommandList commandList,
Skill skill)
Creates a new instance. |
Method Summary | |
---|---|
void |
dispose()
Will be called when the skin is disposed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final CommandList commandList
CommandList
to execute.
@NotNull private final Skill skill
Skill
to monitor.
@NotNull private final SkillListener skillListener
SkillListener
attached to skill
.
Constructor Detail |
---|
public SkillRemovedSkinEvent(@NotNull CommandList commandList, @NotNull Skill skill)
commandList
- the command list to execute.skill
- the skill to monitorMethod Detail |
---|
public void dispose()
dispose
in interface SkinEvent