Crossfire JXClient, Trunk
R20561
|
Maintains smoothing information received from the Crossfire server. More...
Public Member Functions | |
int | getSmoothFace (final int face) |
Returns the smoothing face associated with a given face. More... | |
void | updateSmoothFace (final int face, final int smoothFace) |
Updates smooth face information. More... | |
Private Attributes | |
final Map< Integer, Integer > | smoothFaces = new HashMap<>() |
All known smoothing mappings. More... | |
Maintains smoothing information received from the Crossfire server.
Definition at line 32 of file SmoothFaces.java.
int com.realtime.crossfire.jxclient.faces.SmoothFaces.getSmoothFace | ( | final int | face | ) |
Returns the smoothing face associated with a given face.
face | the face |
Definition at line 45 of file SmoothFaces.java.
References com.realtime.crossfire.jxclient.faces.SmoothFaces.smoothFaces.
Referenced by com.realtime.crossfire.jxclient.gui.map.SmoothingRenderer.paintSmooth().
void com.realtime.crossfire.jxclient.faces.SmoothFaces.updateSmoothFace | ( | final int | face, |
final int | smoothFace | ||
) |
Updates smooth face information.
face | the face number |
smoothFace | the face number of the corresponding smooth face |
Definition at line 58 of file SmoothFaces.java.
References com.realtime.crossfire.jxclient.faces.SmoothFaces.smoothFaces.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processSmooth().
|
private |
All known smoothing mappings.
Maps face to associated smoothing face.
Definition at line 38 of file SmoothFaces.java.
Referenced by com.realtime.crossfire.jxclient.faces.SmoothFaces.getSmoothFace(), and com.realtime.crossfire.jxclient.faces.SmoothFaces.updateSmoothFace().