Class HunterPlugin

  • All Implemented Interfaces:

                      description="Show the state of your traps",
    public class HunterPlugin
    extends Plugin
    • Constructor Detail

      • HunterPlugin

        public HunterPlugin()
    • Method Detail

      • startUp

        protected void startUp()
        startUp in class Plugin
      • onGameObjectSpawned

        public void onGameObjectSpawned​( event)
      • onGameTick

        public void onGameTick​( event)
        Iterates over all the traps that were placed by the local player and checks if the trap is still there. If the trap is gone, it removes the trap from the local players trap collection.
      • getTraps

        public Map<net.runelite.api.coords.WorldPoint,​net.runelite.client.plugins.hunter.HunterTrap> getTraps()
      • getLastActionTime

        public Instant getLastActionTime()