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() {
final Skill skill
The Skill to monitor.
A SkinEvent that executes a CommandList whenever a new skill has been gained.
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.
Interface for listeners on skill related changes.
final CommandList commandList
The CommandList to execute.
void dispose()
Will be called when the skin is disposed.Should release resources.
One skill of the character.
SkillAddedSkinEvent(@NotNull final CommandList commandList, @NotNull final Skill skill)
Creates a new instance.
final SkillListener skillListener
The SkillListener attached to skill.
A list of GUICommand instances.
void execute()
Execute the command list by calling GUICommand#execute() for each command in order.