Class Moveable

java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.Moveable
Direct Known Subclasses:
Radio

public class Moveable
extends InventoryItem
  • Field Details

    • worldSprite

      protected java.lang.String worldSprite
    • canBeDroppedOnFloor

      protected boolean canBeDroppedOnFloor
    • customItem

      protected java.lang.String customItem
  • Constructor Details

    • Moveable

      public Moveable​(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
    • Moveable

      public Moveable​(java.lang.String string, java.lang.String string2, java.lang.String string3, Item item)
  • Method Details

    • getName

      public java.lang.String getName()
      Overrides:
      getName in class InventoryItem
    • getDisplayName

      public java.lang.String getDisplayName()
      Overrides:
      getDisplayName in class InventoryItem
    • CanBeDroppedOnFloor

      public boolean CanBeDroppedOnFloor()
    • getMovableFullName

      public java.lang.String getMovableFullName()
    • getCustomNameFull

      public java.lang.String getCustomNameFull()
    • isMultiGridAnchor

      public boolean isMultiGridAnchor()
    • getSpriteGrid

      public IsoSpriteGrid getSpriteGrid()
    • getWorldSprite

      public java.lang.String getWorldSprite()
    • ReadFromWorldSprite

      public boolean ReadFromWorldSprite​(java.lang.String string)
    • isLight

      public boolean isLight()
    • setLight

      public void setLight​(boolean boolean1)
    • isLightUseBattery

      public boolean isLightUseBattery()
    • setLightUseBattery

      public void setLightUseBattery​(boolean boolean1)
    • isLightHasBattery

      public boolean isLightHasBattery()
    • setLightHasBattery

      public void setLightHasBattery​(boolean boolean1)
    • getLightBulbItem

      public java.lang.String getLightBulbItem()
    • setLightBulbItem

      public void setLightBulbItem​(java.lang.String string)
    • getLightPower

      public float getLightPower()
    • setLightPower

      public void setLightPower​(float float1)
    • getLightDelta

      public float getLightDelta()
    • setLightDelta

      public void setLightDelta​(float float1)
    • getLightR

      public float getLightR()
    • setLightR

      public void setLightR​(float float1)
    • getLightG

      public float getLightG()
    • setLightG

      public void setLightG​(float float1)
    • getLightB

      public float getLightB()
    • setLightB

      public void setLightB​(float float1)
    • getSaveType

      public int getSaveType()
      Overrides:
      getSaveType 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
    • setWorldSprite

      public void setWorldSprite​(java.lang.String string)