Class InventoryEvent

All Implemented Interfaces:
Serializable

public class InventoryEvent extends GameEvent<Integer>
See Also:
  • Constructor Details

    • InventoryEvent

      public InventoryEvent(int key, int index, IntPair current, IntPair next)
      Constructs a prototypical Event.
      Parameters:
      key - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details

    • getKey

      public int getKey()
    • getIndex

      public int getIndex()
    • getCurrent

      public IntPair getCurrent()
    • getNext

      public IntPair getNext()
    • getType

      public InventoryEvent.Type getType()