Uses of Class
rea.components.Item
Packages that use Item
Package
Description
Components of a gameplay, the set of feature of a game.
Types related to events.
Actual gameplay classes for a couple of game examples.
-
Uses of Item in rea.components
Fields in rea.components declared as ItemFields in rea.components with type parameters of type ItemModifier and TypeFieldDescription(package private) Map
<Positionable, Map<Item, Positionable>> GameMap.changes
Changes that may be performed on positionable objects in the game.Character.inventory
The inventory of itemsMethods in rea.components that return ItemMethods in rea.components that return types with arguments of type ItemModifier and TypeMethodDescriptionCharacter.getInventory()
Get the inventory, the items the character is carrying.Place.getItems()
Get the items in this place.Methods in rea.components with parameters of type ItemModifier and TypeMethodDescriptionvoid
Add an item to the inventory.void
GameMap.defineChange
(Positionable modifiable, Item tool, Positionable modified) Define a change that may be performed on a positionable object in the game.boolean
Drop an item from the inventory.GameMap.getChange
(Positionable modifiable, Item tool) Get the change that may be performed on a positionable object in the game.void
Hold the given item.void
Do a visit to an item in the composite structure -
Uses of Item in rea.events
Methods in rea.events that return ItemModifier and TypeMethodDescriptionInventoryUpdateEvent.getHolding()
Get the item the player is holdingMethods in rea.events that return types with arguments of type ItemConstructors in rea.events with parameters of type ItemModifierConstructorDescriptionInventoryUpdateEvent
(List<Item> items, Item holding) Create an inventory update event with a list of items and the item the player is holdingConstructor parameters in rea.events with type arguments of type ItemModifierConstructorDescriptionInventoryUpdateEvent
(List<Item> items, Item holding) Create an inventory update event with a list of items and the item the player is holding -
Uses of Item in rea.gameplay.games
Methods in rea.gameplay.games that return types with arguments of type ItemMethods in rea.gameplay.games with parameters of type Item