Class SkillAddedSkinEvent

  • All Implemented Interfaces:
    SkinEvent

    public class SkillAddedSkinEvent
    extends java.lang.Object
    implements SkinEvent
    A SkinEvent that executes a CommandList whenever a new skill has been gained.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • SkillAddedSkinEvent

        public SkillAddedSkinEvent​(@NotNull
                                   @NotNull CommandList commandList,
                                   @NotNull
                                   @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()
        Description copied from interface: SkinEvent
        Will be called when the skin is disposed. Should release resources.
        Specified by:
        dispose in interface SkinEvent