Class LootEvent

All Implemented Interfaces:
Serializable

public class LootEvent extends GameEvent<LootSource>
See Also:
  • Constructor Details

    • LootEvent

      public LootEvent(LootSource source, int id, int stackSize)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details

    • getItem

      public Item getItem()