Class ShopSellEvent


  • public class ShopSellEvent
    extends AbstractEvent
    This class represents a shop sell event. It allows the player to sell items to a shop, based on the provided item and quantity.
    • Constructor Detail

      • ShopSellEvent

        public ShopSellEvent​(Item item,
                             Quantity quantity)
      • ShopSellEvent

        public ShopSellEvent​(int itemId,
                             Quantity quantity)
      • ShopSellEvent

        public ShopSellEvent​(java.lang.String itemName,
                             Quantity quantity)
      • ShopSellEvent

        public ShopSellEvent​(java.util.function.Predicate<Item> itemPredicate,
                             Quantity quantity)