|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for algorithms used to fit things in the inventory
Method Summary | |
boolean |
add(Item item,
java.util.Vector containers)
Adds an item to a container |
boolean |
canHold(Item item,
java.util.Vector containers)
Checks if the specified containers can hold the specified item |
Method Detail |
public boolean add(Item item, java.util.Vector containers)
item
- The item to addcontainers
- The number of containers to use for adding
public boolean canHold(Item item, java.util.Vector containers)
item
- The item to holdcontainers
- The containers to use to store the item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |