Class Corpse

java.lang.Object
games.stendhal.client.entity.Entity
games.stendhal.client.entity.Corpse
All Implemented Interfaces:
IEntity, RPObjectChangeListener

public class Corpse extends Entity
A corpse entity.
  • Constructor Details

    • Corpse

      public Corpse()
  • Method Details

    • getContent

      public RPSlot getContent()
      Get the corpse contents.
      Returns:
      The contents slot.
    • getCorpseOwner

      public String getCorpseOwner()
      gets the owner of the corpse who may loot.
      Returns:
      owner or null
    • initialize

      public void initialize(RPObject object)
      Initialize this entity for an object.
      Specified by:
      initialize in interface IEntity
      Overrides:
      initialize in class Entity
      Parameters:
      object - The object.
      See Also:
      Entity.release()
    • isEmpty

      public boolean isEmpty()
      Checks if the corpse is empty or not
      Returns:
      true if the corpse is empty