Class PlayerTradeSlot
java.lang.Object
marauroa.common.game.RPSlot
games.stendhal.server.entity.slot.EntitySlot
games.stendhal.server.entity.slot.PlayerSlot
games.stendhal.server.entity.slot.PlayerTradeSlot
- All Implemented Interfaces:
Slot,Cloneable,Iterable<RPObject>,Serializable
Slots of players which are use to offer items for trading.
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs this slot reachable to take things out of?booleandoes this slot require that the bounding of items is check on adding itemsMethods inherited from class games.stendhal.server.entity.slot.EntitySlot
clearErrorMessage, getContentSlotName, getErrorMessage, getSlotType, isItemSlot, isReachableForThrowingThingsIntoBy, setErrorMessageMethods inherited from class marauroa.common.game.RPSlot
add, add, addPreservingId, clear, clearVisible, clone, equals, get, getCapacity, getFirst, getName, getOwner, has, hasAsAncestor, hasAsAncestor, hashCode, isEmpty, isFull, iterator, readObject, remove, resetAddedAndDeletedRPObjects, setAddedRPObject, setCapacity, setDeletedRPObject, setName, size, toString, writeObject, writeObject, writeToJsonMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PlayerTradeSlot
Creates a new PlayerTradeSlot.- Parameters:
name- name of slot
-
-
Method Details
-
isReachableForTakingThingsOutOfBy
Description copied from interface:SlotIs this slot reachable to take things out of?- Specified by:
isReachableForTakingThingsOutOfByin interfaceSlot- Overrides:
isReachableForTakingThingsOutOfByin classPlayerSlot- 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:Slotdoes this slot require that the bounding of items is check on adding items- Specified by:
isTargetBoundCheckRequiredin interfaceSlot- Overrides:
isTargetBoundCheckRequiredin classEntitySlot- Returns:
- true, if bound items have to be checked, false otherwise
-