Class CustomizationManager
java.lang.Object
zombie.network.CustomizationManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteBuffercompressToByteBuffer(BufferedImage image, String formatName) static ByteBufferconvertToByteBuffer(BufferedImage image) static doublegetIconRatio(BufferedImage src, BufferedImage icon) static CustomizationManagervoidload()static ByteBufferloadAndResizeInstance(BufferedImage image, int dimensionW, int dimensionH) static ByteBufferloadCompressAndResizeInstance(BufferedImage image, int dimensionW, int dimensionH)
-
Constructor Details
-
CustomizationManager
public CustomizationManager()
-
-
Method Details
-
getInstance
-
load
public void load() -
getServerImageIcon
-
getServerImageLoginScreen
-
getServerImageLoadingScreen
-
getClientCustomBackground
-
loadCompressAndResizeInstance
public static ByteBuffer loadCompressAndResizeInstance(BufferedImage image, int dimensionW, int dimensionH) -
loadAndResizeInstance
-
getIconRatio
-
convertToByteBuffer
-
compressToByteBuffer
-