Class MapScrollSkinEvent

  • All Implemented Interfaces:
    SkinEvent

    public class MapScrollSkinEvent
    extends java.lang.Object
    implements SkinEvent
    A SkinEvent that executes a CommandList whenever the map scroll protocol command is received.
    • 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

      • MapScrollSkinEvent

        public MapScrollSkinEvent​(@NotNull
                                  @NotNull CommandList commandList,
                                  @NotNull
                                  @NotNull MapUpdaterState mapUpdaterState)
        Creates a new instance.
        Parameters:
        commandList - the command list to execute
        mapUpdaterState - the map updater state to attach to
    • 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