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 Type
    Method
    Description
    void
    Collects and sends data the represents the state of the inventory
    void
    removeItem(@NotNull String itemName)
    Attempts to remove an item of itemName to the inventory
    void
    useItem(@NotNull String itemName, @NotNull String characterName)
    Attempts to use an item of itemName on a character
  • Method Details

    • removeItem

      void removeItem(@NotNull @NotNull String itemName)
      Attempts to remove an item of itemName to the inventory
      Parameters:
      itemName - the name of the item to be removed
    • useItem

      void useItem(@NotNull @NotNull String itemName, @NotNull @NotNull String characterName)
      Attempts to use an item of itemName on a character
      Parameters:
      itemName - the name of the item to be used
      characterName - the name of character the item should be used on
    • getInventoryDetails

      void getInventoryDetails()
      Collects and sends data the represents the state of the inventory