Class Key

java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.Key

public final class Key
extends InventoryItem
  • Field Details

    • highlightDoor

      public static final Key[] highlightDoor
  • Constructor Details

    • Key

      public Key​(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
  • Method Details

    • getSaveType

      public int getSaveType()
      Overrides:
      getSaveType in class InventoryItem
    • takeKeyId

      public void takeKeyId()
    • setHighlightDoors

      public static void setHighlightDoors​(int int1, InventoryItem inventoryItem)
    • getKeyId

      public int getKeyId()
      Overrides:
      getKeyId in class InventoryItem
    • setKeyId

      public void setKeyId​(int int1)
      Overrides:
      setKeyId in class InventoryItem
    • getCategory

      public java.lang.String getCategory()
      Overrides:
      getCategory in class InventoryItem
    • save

      public void save​(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException
      Overrides:
      save in class InventoryItem
      Throws:
      java.io.IOException
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException
      Overrides:
      load in class InventoryItem
      Throws:
      java.io.IOException
    • isPadlock

      public boolean isPadlock()
    • setPadlock

      public void setPadlock​(boolean boolean1)
    • getNumberOfKey

      public int getNumberOfKey()
    • setNumberOfKey

      public void setNumberOfKey​(int int1)
    • isDigitalPadlock

      public boolean isDigitalPadlock()
    • setDigitalPadlock

      public void setDigitalPadlock​(boolean boolean1)