Example #1
0
 public I_Item takeFromBackpack(string item, int position)
 {
     return(Backpack.takeItem(item, position));
 }
Example #2
0
 /**
  * Places item in the backpack
  * @param: (I_Item) item object to be placed in backpack.
  * @returns: void
  **/
 public void addToBackpack(I_Item item)
 {
     Backpack.giveItem(item);
 }
Example #3
0
 /**
  * Takes an item out of the backpack
  * @params: (String) name of the item to be taken from backpack
  **/
 public I_Item takeFromBackpack(string item)
 {
     return(Backpack.takeItem(item));
 }