Class CustomizationManager

java.lang.Object
zombie.network.CustomizationManager

public class CustomizationManager extends Object
  • Constructor Details

    • CustomizationManager

      public CustomizationManager()
  • Method Details

    • getInstance

      public static CustomizationManager getInstance()
    • load

      public void load()
    • getServerImageIcon

      public ByteBuffer getServerImageIcon()
    • getServerImageLoginScreen

      public ByteBuffer getServerImageLoginScreen()
    • getServerImageLoadingScreen

      public ByteBuffer getServerImageLoadingScreen()
    • getClientCustomBackground

      public Texture getClientCustomBackground()
    • loadCompressAndResizeInstance

      public static ByteBuffer loadCompressAndResizeInstance(BufferedImage image, int dimensionW, int dimensionH)
    • loadAndResizeInstance

      public static ByteBuffer loadAndResizeInstance(BufferedImage image, int dimensionW, int dimensionH)
    • getIconRatio

      public static double getIconRatio(BufferedImage src, BufferedImage icon)
    • convertToByteBuffer

      public static ByteBuffer convertToByteBuffer(BufferedImage image)
    • compressToByteBuffer

      public static ByteBuffer compressToByteBuffer(BufferedImage image, String formatName)