Class AttachedItem

java.lang.Object
zombie.characters.AttachedItems.AttachedItem

public final class AttachedItem
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected InventoryItem item  
    protected java.lang.String location  
  • Constructor Summary

    Constructors
    Constructor Description
    AttachedItem​(java.lang.String string, InventoryItem inventoryItem)  
  • Method Summary

    Modifier and Type Method Description
    InventoryItem getItem()  
    java.lang.String getLocation()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • location

      protected final java.lang.String location
    • item

      protected final InventoryItem item
  • Constructor Details

    • AttachedItem

      public AttachedItem​(java.lang.String string, InventoryItem inventoryItem)
  • Method Details

    • getLocation

      public java.lang.String getLocation()
    • getItem

      public InventoryItem getItem()