|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.adventure.inventory.AbstractInventory
de.rico.adventure.inventory.BoxInventory
@Deprecated public class BoxInventory
This class represents an inventory system that uses some kind of box (container) to visualize the items in the inventory.
Constructor Summary | |
---|---|
BoxInventory(InputManager input)
Deprecated. Creates a new box inventory system. |
Method Summary | |
---|---|
void |
draw(javax.media.opengl.GL gl)
Deprecated. The method draws the inventory, when visible |
boolean |
isMouseOverItem(Item item)
Deprecated. Determines whether or not the mouse is located over the specified inventory item. |
void |
update(long elapsedTime)
Deprecated. This method updates the inventory. |
Methods inherited from class de.rico.adventure.inventory.AbstractInventory |
---|
add, contains, getBGColor, getHeight, getItems, getItemUnderCursor, getSelectedInventoryItem, getTextColor, getWidth, getX, getY, isMouseInInventory, isVisible, remove, setBGColor, setHeight, setSelectedInventoryItem, setTextColor, setVisible, setWidth, setX, setY |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoxInventory(InputManager input)
input
- manager objectMethod Detail |
---|
public boolean isMouseOverItem(Item item)
AbstractInventory
isMouseOverItem
in class AbstractInventory
item
- item in the inventory to check
public void draw(javax.media.opengl.GL gl)
AbstractInventory
draw
in class AbstractInventory
public void update(long elapsedTime)
AbstractInventory
update
in class AbstractInventory
elapsedTime
- time between two frames
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |