Class HunterPlugin

  • All Implemented Interfaces:
    com.google.inject.Module

    @PluginDescriptor(name="Hunter",
                      description="Show the state of your traps",
                      tags={"overlay","skilling","timers"})
    public class HunterPlugin
    extends Plugin
    • Constructor Detail

      • HunterPlugin

        public HunterPlugin()
    • Method Detail

      • startUp

        protected void startUp()
        Overrides:
        startUp in class Plugin
      • onGameTick

        @Subscribe
        public void onGameTick​(GameTick 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<WorldPoint,​net.runelite.client.plugins.hunter.HunterTrap> getTraps()