Tanner/Oregon-Trail — Issue #33: Getting an item from a Inventoried into the Bin
Author: Tanner
Created: 2011-10-13 12:19:18+00:00
State: open

This is mostly directed a @hankreardon, but anyone else is free to chime in.

So, I've got an instance of a class that implements Inventoried and I need to get the object I just removed from it into the bin. However, it seems like I could use Inventory method removeItem(ITEM_TYPE, quantity), but Inventoried has a method like this (which the implementing class uses) though it returns a boolean instead of the ArrayList.

I'm thinking it could just return the ArrayList, but I'm not really sure if theres some other way I don't know about.