com.realtime.crossfire.jxclient.skin.events
Class SkillRemovedSkinEvent

java.lang.Object
  extended by com.realtime.crossfire.jxclient.skin.events.SkillRemovedSkinEvent
All Implemented Interfaces:
SkinEvent

public class SkillRemovedSkinEvent
extends java.lang.Object
implements SkinEvent

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

commandList

@NotNull
private final CommandList commandList
The CommandList to execute.


skill

@NotNull
private final Skill skill
The Skill to monitor.


skillListener

@NotNull
private final SkillListener skillListener
The SkillListener attached to skill.

Constructor Detail

SkillRemovedSkinEvent

public SkillRemovedSkinEvent(@NotNull
                             CommandList commandList,
                             @NotNull
                             Skill skill)
Creates a new instance.

Parameters:
commandList - the command list to execute.
skill - the skill to monitor
Method Detail

dispose

public void dispose()
Will be called when the skin is disposed. Should release resources.

Specified by:
dispose in interface SkinEvent