22 package com.realtime.crossfire.jxclient.faces;
24 import javax.swing.ImageIcon;
25 import org.jetbrains.annotations.NotNull;
26 import org.jetbrains.annotations.Nullable;
37 private static final int SIZE = 4;
66 public ImageIcon
getImageIcon(
final int faceNum, @Nullable
final boolean[] isUnknownImage) {
ImageIcon getImageIcon(final int faceNum, @Nullable final boolean[] isUnknownImage)
Returns the face for a face ID.This function returns immediately even if the face is not loaded...
MagicMapFacesProvider(@NotNull final FacesManager facesManager)
Creates a new instance.
ImageIcon getMagicMapImageIcon(int faceNum, @Nullable boolean[] isUnknownImage)
Returns the "magic map" face for a face ID.
Interface for face providers.
int getSize()
Returns the size of faces in pixels.the size in pixels
static final int SIZE
The size of faces in pixels.
A FacesProvider that returns faces scaled to 4x4 pixels.
final FacesManager facesManager
The FacesManager to query.
Maintains a mapping of face numbers to face data.