Class PlayerTradeSlot

All Implemented Interfaces:
Slot, Cloneable, Iterable<RPObject>, Serializable

public class PlayerTradeSlot extends PlayerSlot
Slots of players which are use to offer items for trading.
Author:
hendrik
  • Constructor Details

    • PlayerTradeSlot

      public PlayerTradeSlot(String name)
      Creates a new PlayerTradeSlot.
      Parameters:
      name - name of slot
  • Method Details

    • isReachableForTakingThingsOutOfBy

      public boolean isReachableForTakingThingsOutOfBy(Entity entity)
      Description copied from interface: Slot
      Is this slot reachable to take things out of?
      Specified by:
      isReachableForTakingThingsOutOfBy in interface Slot
      Overrides:
      isReachableForTakingThingsOutOfBy in class PlayerSlot
      Parameters:
      entity - Entity which may be able to reach this slot
      Returns:
      true, if it is reachable, false otherwise
    • isTargetBoundCheckRequired

      public boolean isTargetBoundCheckRequired()
      Description copied from interface: Slot
      does this slot require that the bounding of items is check on adding items
      Specified by:
      isTargetBoundCheckRequired in interface Slot
      Overrides:
      isTargetBoundCheckRequired in class EntitySlot
      Returns:
      true, if bound items have to be checked, false otherwise