Packages that use Face | |
---|---|
com.realtime.crossfire.jxclient.faces | Manages image information ("faces") needed to display the map view, items, and spell icons. |
com.realtime.crossfire.jxclient.gui.map | |
com.realtime.crossfire.jxclient.items | |
com.realtime.crossfire.jxclient.map | Implements the map model which is shown in the map and magic map views. |
com.realtime.crossfire.jxclient.mapupdater | |
com.realtime.crossfire.jxclient.shortcuts |
Uses of Face in com.realtime.crossfire.jxclient.faces |
---|
Fields in com.realtime.crossfire.jxclient.faces declared as Face | |
---|---|
private Face |
FileCacheFaceQueue.LoadTask.face
The face to load. |
private Face |
FileCacheFaceQueue.SaveTask.face
The face to save. |
private Face[] |
FaceCache.faces
The cached faces. |
Fields in com.realtime.crossfire.jxclient.faces with type parameters of type Face | |
---|---|
private java.util.Map<Face,javax.swing.ImageIcon> |
MemoryImageCache.faces
The cache contents. |
private java.util.Map<java.lang.Integer,Face> |
AskfaceFaceQueue.pendingAskfaces
Face numbers for which "askface" commands have been sent without having received a response from the server. |
private java.util.Map<java.lang.Integer,Face> |
AskfaceFaceQueue.pendingFaces
Face numbers for which an "askface" command should be sent. |
private java.util.List<Face> |
AskfaceFaceQueue.pendingFacesQueue
The same elements as AskfaceFaceQueue.pendingFaces in query order. |
private java.util.Collection<Face> |
FileCacheFaceQueue.pendingLoadFaces
The faces for which FileCacheFaceQueue.loadFace(Face) has been called but that are
not yet processed. |
Methods in com.realtime.crossfire.jxclient.faces that return Face | |
---|---|
Face |
FaceCache.getFace(int faceNum)
Returns a face by face id. |
Face |
FacesManager.getFace(int faceNum)
Returns the Face instance for a given face ID. |
Face |
AbstractFacesManager.getFace(int faceNum)
Returns the Face instance for a given face ID. |
Face |
FacesManager.getFace2(int faceNum)
Returns the Face instance for a given face ID. |
Face |
AbstractFacesManager.getFace2(int faceNum)
Returns the Face instance for a given face ID. |
protected Face |
AbstractFacesManager.lookupFace(int faceNum)
Returns the Face instance for a given face ID. |
Methods in com.realtime.crossfire.jxclient.faces with parameters of type Face | |
---|---|
void |
FaceCache.addFace(Face face)
Adds a new face to the cache. |
void |
FaceQueueListener.faceFailed(Face face)
Called after a Face could not be loaded. |
void |
FaceQueueListener.faceLoaded(Face face,
FaceImages faceImages)
Called after a Face has been loaded successfully. |
void |
FacesManagerListener.faceUpdated(Face face)
Called when a Face has been updated. |
protected void |
AbstractFaceQueue.fireFaceFailed(Face face)
Notify all listener with FaceQueueListener.faceFailed(Face) . |
protected void |
AbstractFaceQueue.fireFaceLoaded(Face face,
FaceImages faceImages)
Notify all listener with FaceQueueListener.faceLoaded(Face,
FaceImages) . |
protected void |
AbstractFacesManager.fireFaceUpdated(Face face)
Notifies all FacesManagerListener s that a face has been updated. |
javax.swing.ImageIcon |
FileCache.load(Face face)
Retrieves an image from the cache. |
javax.swing.ImageIcon |
MemoryImageCache.load(Face face)
Retrieves an image from the cache. |
javax.swing.ImageIcon |
ImageCache.load(Face face)
Retrieves an image from the cache. |
void |
FileCacheFaceQueue.loadFace(Face face)
Request a face. |
void |
AskfaceFaceQueue.loadFace(Face face)
Request a face. |
void |
FacesQueue.loadFace(Face face)
Request a face. |
void |
FaceQueue.loadFace(Face face)
Request a face. |
private void |
AskfaceFaceQueue.processFaceData(Face face,
byte[] data)
Processes face information received from the server. |
void |
FileCache.save(Face face,
javax.swing.ImageIcon imageIcon)
Stores an ImageIcon into the cache. |
void |
MemoryImageCache.save(Face face,
javax.swing.ImageIcon imageIcon)
Stores an ImageIcon into the cache. |
void |
ImageCache.save(Face face,
javax.swing.ImageIcon imageIcon)
Stores an ImageIcon into the cache. |
void |
FileCacheFaceQueue.saveFace(Face face,
FaceImages faceImages)
Saves a face to the caches. |
Constructors in com.realtime.crossfire.jxclient.faces with parameters of type Face | |
---|---|
FileCacheFaceQueue.LoadTask(Face face)
Creates a new instance. |
|
FileCacheFaceQueue.SaveTask(Face face,
FaceImages faceImages)
Creates a new instance. |
Uses of Face in com.realtime.crossfire.jxclient.gui.map |
---|
Methods in com.realtime.crossfire.jxclient.gui.map with parameters of type Face | |
---|---|
private void |
AbstractGUIMap.paintImage(java.awt.Graphics g,
Face face,
int px,
int py,
int offsetX,
int offsetY)
Paints a face into a tile. |
Uses of Face in com.realtime.crossfire.jxclient.items |
---|
Fields in com.realtime.crossfire.jxclient.items declared as Face | |
---|---|
private Face |
CfItem.face
The face. |
Methods in com.realtime.crossfire.jxclient.items that return Face | |
---|---|
Face |
CfItem.getFace()
Returns the face. |
Methods in com.realtime.crossfire.jxclient.items with parameters of type Face | |
---|---|
private void |
CfItem.setFace(Face face)
Updates the face. |
void |
CfItem.update(int updateFlags,
int flags,
int weight,
Face face,
java.lang.String name,
java.lang.String namePl,
int anim,
int animSpeed,
int nrof)
Processes an "upditem" command. |
void |
ItemSet.updateItem(int flags,
int tag,
int valLocation,
int valFlags,
int valWeight,
Face valFace,
java.lang.String valName,
java.lang.String valNamePl,
int valAnim,
int valAnimSpeed,
int valNrof)
Processes an "upditem" command. |
Constructors in com.realtime.crossfire.jxclient.items with parameters of type Face | |
---|---|
CfItem(int location,
int tag,
int flags,
int weight,
Face face,
java.lang.String name,
java.lang.String namePl,
int anim,
int animSpeed,
int nrof,
int type)
Creates a new instance. |
|
CfPlayer(int tag,
int weight,
Face face,
java.lang.String name)
Creates a new instance. |
Uses of Face in com.realtime.crossfire.jxclient.map |
---|
Fields in com.realtime.crossfire.jxclient.map declared as Face | |
---|---|
static Face |
CfMapSquare.DEFAULT_FACE
The default face value for newly creates squares. |
private Face[] |
CfMapSquare.faces
The faces (of head-parts) of all layers as sent by the server. |
Methods in com.realtime.crossfire.jxclient.map that return Face | |
---|---|
Face |
CfMapSquare.getFace(int layer)
Returns the face of a layer. |
Face |
CfMapPatch.getFace(int x,
int y,
int layer)
Determines the face of one square. |
Face |
CfMap.getFace(int x,
int y,
int layer)
Determines the face of one square. |
Methods in com.realtime.crossfire.jxclient.map with parameters of type Face | |
---|---|
private void |
CfMap.dirtyFace(int x,
int y,
int layer,
Face face)
Marks one face as "dirty". |
private void |
CfMap.expandFace(int x,
int y,
int layer,
Face face,
CfMapSquare oldMapSquare,
CfMapSquare newMapSquare)
Adds or removes "head" pointer to/from tail-parts of a face. |
void |
CfMapSquare.setFace(int layer,
Face face)
Sets the face of a layer. |
void |
CfMap.setFace(int x,
int y,
int layer,
Face face)
Sets the face of one square. |
private void |
CfMap.setFaceInternal(int x,
int y,
int layer,
Face face)
Sets the face of one square. |
Uses of Face in com.realtime.crossfire.jxclient.mapupdater |
---|
Methods in com.realtime.crossfire.jxclient.mapupdater that return Face | |
---|---|
private Face |
CfMapUpdater.getFace(int faceNum)
Returns the Face instance by face ID. |
Uses of Face in com.realtime.crossfire.jxclient.shortcuts |
---|
Methods in com.realtime.crossfire.jxclient.shortcuts with parameters of type Face | |
---|---|
boolean |
ShortcutSpell.displaysFace(Face face)
Returns whether this shortcut displays the given face. |
abstract boolean |
Shortcut.displaysFace(Face face)
Returns whether this shortcut displays the given face. |
boolean |
ShortcutCommand.displaysFace(Face face)
Returns whether this shortcut displays the given face. |