Class GroundItems


  • public class GroundItems
    extends java.lang.Object
    Manages ground items (loot) on tiles in the game. This class listens to loot-related events and maintains a list of items on the ground.
    • Constructor Summary

      Constructors 
      Constructor Description
      GroundItems()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TileItemQuery query()
      Starts a search for ground items.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOOT_LIST

        public final java.util.List<KSGroundItem> LOOT_LIST
    • Constructor Detail

      • GroundItems

        public GroundItems()
    • Method Detail

      • query

        public TileItemQuery query()
        Starts a search for ground items. Updates the list of ground items if the game tick has advanced.
        Returns:
        A TileItemQuery object containing the list of ground items.