java.lang.Object com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent
public class MapScrollSkinEvent
A SkinEvent
that executes a CommandList
whenever the map
scroll protocol command is received.
Field Summary | |
---|---|
private CommandList |
commandList
The CommandList to execute. |
private MapScrollListener |
mapscrollListener
The MapScrollListener attached to mapUpdater . |
private CfMapUpdater |
mapUpdater
The CfMapUpdater to attach to. |
Constructor Summary | |
---|---|
MapScrollSkinEvent(CommandList commandList,
CfMapUpdater mapUpdater)
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 |
---|
@NotNull private final CommandList commandList
CommandList
to execute.
@NotNull private final MapScrollListener mapscrollListener
MapScrollListener
attached to mapUpdater
.
@NotNull private final CfMapUpdater mapUpdater
CfMapUpdater
to attach to.
Constructor Detail |
---|
public MapScrollSkinEvent(@NotNull CommandList commandList, @NotNull CfMapUpdater mapUpdater)
commandList
- the command list to executemapUpdater
- the map updater to attach toMethod Detail |
---|
public void dispose()
dispose
in interface SkinEvent