Class LootEvent

    • Constructor Detail

      • 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 Detail

      • getItem

        public Item getItem()