Class SpriteItem.Image
- java.lang.Object
-
- com.runemate.game.api.hybrid.local.hud.interfaces.SpriteItem.Image
-
- Enclosing class:
- SpriteItem
public static class SpriteItem.Image extends java.lang.Object
Represents the various states an item can take (quantity/stack size), and loads image variations based on those states.
-
-
Constructor Summary
Constructors Constructor Description Image(SpriteItem item)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
get()
Gets a BufferedImage representing the item in its current state (aka.java.awt.image.BufferedImage
get(int quantity)
Gets a BufferedImage representing the item at the providedquantity
java.awt.image.BufferedImage
get(int quantity, boolean stacks)
Gets a BufferedImage representing the item at the providedquantity
andstacks
.
-
-
-
Constructor Detail
-
Image
public Image(SpriteItem item)
-
-
Method Detail
-
get
public java.awt.image.BufferedImage get()
Gets a BufferedImage representing the item in its current state (aka. current stack size).
-
get
public java.awt.image.BufferedImage get(int quantity)
Gets a BufferedImage representing the item at the providedquantity
-
get
public java.awt.image.BufferedImage get(int quantity, boolean stacks)
Gets a BufferedImage representing the item at the providedquantity
andstacks
.
-
-