java.lang.Object com.realtime.crossfire.jxclient.main.PickupTracker
public class PickupTracker
Updates the pickup state whenever a "player" command is received from a Crossfire server.
Field Summary | |
---|---|
private CrossfireUpdateItemListener |
crossfireUpdateItemListener
The CrossfireUpdateItemListener to track "player" commands. |
private GuiStateListener |
guiStateListener
The GuiStateListener for detecting established or dropped
connections. |
private Pickup |
pickup
The Pickup to update. |
private CrossfireServerConnection |
server
The CrossfireServerConnection to track. |
Constructor Summary | |
---|---|
PickupTracker(GuiStateManager guiStateManager,
CrossfireServerConnection server,
Pickup pickup)
Creates a new instance. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final CrossfireUpdateItemListener crossfireUpdateItemListener
CrossfireUpdateItemListener
to track "player" commands.
@NotNull private final GuiStateListener guiStateListener
GuiStateListener
for detecting established or dropped
connections.
@NotNull private final Pickup pickup
Pickup
to update.
@NotNull private final CrossfireServerConnection server
CrossfireServerConnection
to track.
Constructor Detail |
---|
public PickupTracker(@NotNull GuiStateManager guiStateManager, @NotNull CrossfireServerConnection server, @NotNull Pickup pickup)
guiStateManager
- the gui state manager to trackserver
- the crossfire server connection trackpickup
- the pickup to update