Package com.mg105.use_cases.inventory
Interface InventoryInteractorInputInterface
- All Known Implementing Classes:
InventoryInteractor
public interface InventoryInteractorInputInterface
This interface defines the input structure to make calls that change the state of the inventory
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Collects and sends data the represents the state of the inventoryvoid
removeItem
(@NotNull String itemName) Attempts to remove an item of itemName to the inventoryvoid
Attempts to use an item of itemName on a character
-
Method Details
-
removeItem
Attempts to remove an item of itemName to the inventory- Parameters:
itemName
- the name of the item to be removed
-
useItem
Attempts to use an item of itemName on a character- Parameters:
itemName
- the name of the item to be usedcharacterName
- the name of character the item should be used on
-
getInventoryDetails
void getInventoryDetails()Collects and sends data the represents the state of the inventory
-