public class ItemSprite extends MovieClip
Modifier and Type | Class and Description |
---|---|
static class |
ItemSprite.Glowing |
MovieClip.Listener
Modifier and Type | Field and Description |
---|---|
Heap |
heap |
static int |
SIZE |
flipHorizontal, flipVertical, texture
Constructor and Description |
---|
ItemSprite() |
ItemSprite(Heap heap) |
ItemSprite(int image,
ItemSprite.Glowing glowing) |
ItemSprite(Item item) |
Modifier and Type | Method and Description |
---|---|
void |
drop() |
void |
drop(int from) |
void |
link() |
void |
link(Heap heap) |
static int |
pick(int index,
int x,
int y) |
void |
place(int p) |
void |
revive() |
void |
update() |
ItemSprite |
view(Item item) |
ItemSprite |
view(java.lang.String file,
int image,
ItemSprite.Glowing glowing) |
bottom, copy, draw, frame, frame, frame, texture, updateVerticesBuffer
alpha, alpha, brightness, center, center, color, color, hardlight, hardlight, height, invert, isVisible, lightness, overlapsPoint, overlapsScreenPoint, point, point, point, resetColor, Scale, Scale, setPos, setScale, tint, tint, width
camera, destroy, getParent, getVisible, hasParent, isActive, kill, killAndErase, remove, setNullParent, setParent, setVisible
public static final int SIZE
public Heap heap
public ItemSprite()
public ItemSprite(Item item)
public ItemSprite(int image, ItemSprite.Glowing glowing)
public ItemSprite(Heap heap)
public void link()
public void link(Heap heap)
public void place(int p)
public void drop()
public void drop(int from)
public ItemSprite view(Item item)
public ItemSprite view(java.lang.String file, int image, ItemSprite.Glowing glowing)
public static int pick(int index, int x, int y)