com.realtime.crossfire.jxclient.main
Class FacesTracker

java.lang.Object
  extended by com.realtime.crossfire.jxclient.main.FacesTracker

public class FacesTracker
extends java.lang.Object

Tracks a GuiStateManager and resets known faces whenever a new server connection has been established.


Field Summary
private  FacesManager facesManager
          The FacesManager to update.
private  GuiStateListener guiStateListener
          The GuiStateListener to track connections to servers.
 
Constructor Summary
FacesTracker(GuiStateManager guiStateManager, FacesManager facesManager)
          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

facesManager

@NotNull
private final FacesManager facesManager
The FacesManager to update.


guiStateListener

@NotNull
private final GuiStateListener guiStateListener
The GuiStateListener to track connections to servers.

Constructor Detail

FacesTracker

public FacesTracker(@NotNull
                    GuiStateManager guiStateManager,
                    @NotNull
                    FacesManager facesManager)
Creates a new instance.

Parameters:
guiStateManager - the gui state manager to track
facesManager - the faces manager to update