Class FaceImages

java.lang.Object
com.realtime.crossfire.jxclient.faces.FaceImages

public class FaceImages extends Object
Consists of three ImageIcons representing a Face.
  • Constructor Details

    • FaceImages

      public FaceImages(@NotNull @NotNull ImageIcon originalImageIcon, @NotNull @NotNull ImageIcon scaledImageIcon, @NotNull @NotNull ImageIcon magicMapImageIcon)
      Creates a new instance.
      Parameters:
      originalImageIcon - the image icon as sent by the Crossfire server
      scaledImageIcon - the image icon scaled for the map view
      magicMapImageIcon - the image icon scaled for the magic map view
  • Method Details

    • getOriginalImageIcon

      @NotNull public @NotNull ImageIcon getOriginalImageIcon()
      Returns the ImageIcon as sent by the Crossfire server.
      Returns:
      the image icon
    • getScaledImageIcon

      @NotNull public @NotNull ImageIcon getScaledImageIcon()
      Returns the ImageIcon scaled for the map view.
      Returns:
      the image icon
    • getMagicMapImageIcon

      @NotNull public @NotNull ImageIcon getMagicMapImageIcon()
      Returns the ImageIcon scaled for the magic map view.
      Returns:
      the image icon