public class SlotInventoryPixelmon extends SlotPC
Modifier and Type | Field and Description |
---|---|
int |
heldItemX
The coordinates of the Pokémon's held item.
|
int |
heldItemY
The coordinates of the Pokémon's held item.
|
Constructor and Description |
---|
SlotInventoryPixelmon(int x,
int y,
StoragePosition position)
Initializes a slot.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getHeldItemBounds()
Gets the bounds of the held item slot.
|
public int heldItemX
public int heldItemY
public SlotInventoryPixelmon(int x, int y, StoragePosition position)
x
- The x coordinate of the slot.y
- The y coordinate of the slot.position
- The PCPosition this slot represents. If this is in the party, then the box number is irrelevant.