Class Item

java.lang.Object
games.stendhal.client.entity.Entity
games.stendhal.client.entity.Item
All Implemented Interfaces:
IEntity, RPObjectChangeListener
Direct Known Subclasses:
Box, Ring, StackableItem

public class Item extends Entity
  • Constructor Details

    • Item

      public Item()
  • Method Details

    • 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()
    • getContent

      public RPSlot getContent()
      Get the content slot.
      Returns:
      Content slot or null if the item has none or it's not accessible.