Class IsoDeadBody

All Implemented Interfaces:
Serializable, Mover, Talker, IHumanVisual, Thumpable

public final class IsoDeadBody extends IsoMovingObject implements Talker, IHumanVisual
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • isDead

      public static boolean isDead(short id)
    • getObjectName

      public String getObjectName()
      Overrides:
      getObjectName in class IsoMovingObject
    • getVisual

      public BaseVisual getVisual()
    • getHumanVisual

      public HumanVisual getHumanVisual()
      Specified by:
      getHumanVisual in interface IHumanVisual
    • getItemVisuals

      public void getItemVisuals(ItemVisuals itemVisuals)
      Specified by:
      getItemVisuals in interface IHumanVisual
    • isFemale

      public boolean isFemale()
      Specified by:
      isFemale in interface IHumanVisual
    • isZombie

      public boolean isZombie()
      Specified by:
      isZombie in interface IHumanVisual
      Overrides:
      isZombie in class IsoObject
    • isCrawling

      public boolean isCrawling()
    • setCrawling

      public void setCrawling(boolean crawling)
    • isFakeDead

      public boolean isFakeDead()
    • setFakeDead

      public void setFakeDead(boolean fakeDead)
    • isSkeleton

      public boolean isSkeleton()
      Specified by:
      isSkeleton in interface IHumanVisual
    • setWornItems

      public void setWornItems(WornItems other)
    • getWornItems

      public WornItems getWornItems()
    • setAttachedItems

      public void setAttachedItems(AttachedItems other)
    • getAttachedItems

      public AttachedItems getAttachedItems()
    • getItem

      public InventoryItem getItem()
    • load

      public void load(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) throws IOException
      Overrides:
      load in class IsoMovingObject
      Throws:
      IOException
    • save

      public void save(ByteBuffer output, boolean IS_DEBUG_SAVE) throws IOException
      Overrides:
      save in class IsoMovingObject
      Throws:
      IOException
    • softReset

      public void softReset()
      Overrides:
      softReset in class IsoObject
    • saveChange

      public void saveChange(String change, se.krka.kahlua.vm.KahluaTable tbl, ByteBuffer bb)
      Overrides:
      saveChange in class IsoObject
    • loadChange

      public void loadChange(String change, ByteBuffer bb)
      Overrides:
      loadChange in class IsoObject
    • renderlast

      public void renderlast()
      Overrides:
      renderlast in class IsoMovingObject
    • render

      public void render(float x, float y, float z, ColorInfo col, boolean bDoChild, boolean bWallLightingPass, Shader shader)
      Overrides:
      render in class IsoObject
    • renderShadow

      public void renderShadow()
    • renderShadow

      public static void renderShadow(float x, float y, float z, org.joml.Vector3f forward, float w, float fm, float bm, ColorInfo lightInfo, float alpha)
    • renderObjectPicker

      public void renderObjectPicker(float x, float y, float z, ColorInfo lightInfo)
      Overrides:
      renderObjectPicker in class IsoObject
    • isMouseOver

      public boolean isMouseOver(float screenX, float screenY)
    • Burn

      public void Burn()
    • setContainer

      public void setContainer(ItemContainer container)
      Overrides:
      setContainer in class IsoObject
      Parameters:
      container - the container to set
    • checkClothing

      public void checkClothing(InventoryItem removedItem)
    • IsSpeaking

      public boolean IsSpeaking()
      Specified by:
      IsSpeaking in interface Talker
    • Say

      public void Say(String line)
      Specified by:
      Say in interface Talker
    • getSayLine

      public String getSayLine()
      Specified by:
      getSayLine in interface Talker
    • getTalkerType

      public String getTalkerType()
      Specified by:
      getTalkerType in interface Talker
    • addToWorld

      public void addToWorld()
      Overrides:
      addToWorld in class IsoObject
    • removeFromWorld

      public void removeFromWorld()
      Overrides:
      removeFromWorld in class IsoMovingObject
    • updateBodies

      public static void updateBodies()
    • getReanimateTime

      public float getReanimateTime()
    • setReanimateTime

      public void setReanimateTime(float hours)
    • reanimateLater

      public void reanimateLater()
    • reanimateNow

      public void reanimateNow()
    • update

      public void update()
      Overrides:
      update in class IsoMovingObject
    • reanimate

      public void reanimate()
    • Reset

      public static void Reset()
    • Collision

      public void Collision(Vector2 collision, IsoObject object)
      Overrides:
      Collision in class IsoObject
    • isFallOnFront

      public boolean isFallOnFront()
    • setFallOnFront

      public void setFallOnFront(boolean fallOnFront)
    • getPrimaryHandItem

      public InventoryItem getPrimaryHandItem()
    • setPrimaryHandItem

      public void setPrimaryHandItem(InventoryItem item)
    • getSecondaryHandItem

      public InventoryItem getSecondaryHandItem()
    • setSecondaryHandItem

      public void setSecondaryHandItem(InventoryItem item)
    • getAngle

      public float getAngle()
    • getOutfitName

      public String getOutfitName()
    • readInventory

      public String readInventory(ByteBuffer b)
    • getObjectID

      public short getObjectID()
    • setObjectID

      public void setObjectID(short objectID)
    • getOnlineID

      public short getOnlineID()
    • setOnlineID

      public void setOnlineID(short onlineID)
    • isPlayer

      public boolean isPlayer()
    • getDeadBody

      public static IsoDeadBody getDeadBody(short id)
    • addDeadBodyID

      public static void addDeadBodyID(short id, IsoDeadBody deadBody)
    • removeDeadBody

      public static void removeDeadBody(short id)