Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater Class Reference

Utility class to update a CfMap model from protocol commands. More...

+ Collaboration diagram for com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater:

Public Member Functions

 CfMapUpdater (@NotNull final MapUpdaterState mapUpdaterState, @NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final FacesManager facesManager, @NotNull final GuiStateManager guiStateManager)
 Creates a new instance. More...
 

Private Attributes

final GuiStateListener guiStateListener
 The GuiStateListener for detecting established or dropped connections. More...
 
final MapUpdaterState mapUpdaterState
 The updated MapUpdaterState instance. More...
 

Detailed Description

Utility class to update a CfMap model from protocol commands.

Author
Andreas Kirschbaum

Definition at line 37 of file CfMapUpdater.java.

Constructor & Destructor Documentation

◆ CfMapUpdater()

com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater.CfMapUpdater ( @NotNull final MapUpdaterState  mapUpdaterState,
@NotNull final CrossfireServerConnection  crossfireServerConnection,
@NotNull final FacesManager  facesManager,
@NotNull final GuiStateManager  guiStateManager 
)

Creates a new instance.

Parameters
mapUpdaterStatethe map updater state to update
crossfireServerConnectionthe connection to monitor
facesManagerthe faces manager to track for updated faces
guiStateManagerthe gui state manager to watch

Definition at line 97 of file CfMapUpdater.java.

References com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater.guiStateListener, and com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater.mapUpdaterState.

Member Data Documentation

◆ guiStateListener

final GuiStateListener com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater.guiStateListener
private

The GuiStateListener for detecting established or dropped connections.

Definition at line 51 of file CfMapUpdater.java.

Referenced by com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater.CfMapUpdater().

◆ mapUpdaterState

final MapUpdaterState com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater.mapUpdaterState
private

The updated MapUpdaterState instance.

Definition at line 43 of file CfMapUpdater.java.

Referenced by com.realtime.crossfire.jxclient.mapupdater.CfMapUpdater.CfMapUpdater().


The documentation for this class was generated from the following file: