22 package com.realtime.crossfire.jxclient.skin.events;
27 import org.jetbrains.annotations.NotNull;
55 public void gainedSkill() {
60 public void lostSkill() {
65 public void changedSkill() {
SkillRemovedSkinEvent(@NotNull final CommandList commandList, @NotNull final Skill skill)
Creates a new instance.
void addSkillListener(@NotNull final SkillListener listener)
Adds a listener to be notified of changes.
Interface for events attached to skins.
void removeSkillListener(@NotNull final SkillListener listener)
Removes a listener to be notified of changes.
final Skill skill
The Skill to monitor.
Interface for listeners on skill related changes.
One skill of the character.
void dispose()
Will be called when the skin is disposed.Should release resources.
final SkillListener skillListener
The SkillListener attached to skill.
final CommandList commandList
The CommandList to execute.
A SkinEvent that executes a CommandList whenever a new skill has been lost.
A list of GUICommand instances.
void execute()
Execute the command list by calling GUICommand#execute() for each command in order.