Class CannonPlugin

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

    @PluginDescriptor(name="Cannon",
                      description="Show information about cannon placement and/or amount of cannonballs",
                      tags={"combat","notifications","ranged","overlay"})
    public class CannonPlugin
    extends Plugin
    • Constructor Detail

      • CannonPlugin

        public CannonPlugin()
    • Method Detail

      • onItemContainerChanged

        @Subscribe
        public void onItemContainerChanged​(net.runelite.api.events.ItemContainerChanged event)
      • onGameStateChanged

        @Subscribe
        public void onGameStateChanged​(net.runelite.api.events.GameStateChanged gameStateChanged)
      • onGameObjectSpawned

        @Subscribe
        public void onGameObjectSpawned​(net.runelite.api.events.GameObjectSpawned event)
      • onProjectileMoved

        @Subscribe
        public void onProjectileMoved​(net.runelite.api.events.ProjectileMoved event)
      • onChatMessage

        @Subscribe
        public void onChatMessage​(net.runelite.api.events.ChatMessage event)
      • onGameTick

        @Subscribe
        public void onGameTick​(net.runelite.api.events.GameTick event)
      • getCballsLeft

        public int getCballsLeft()
      • isCannonPlaced

        public boolean isCannonPlaced()
      • getCannonPosition

        public net.runelite.api.coords.WorldPoint getCannonPosition()
      • getCannonWorld

        public int getCannonWorld()
      • getCannon

        public net.runelite.api.GameObject getCannon()
      • getSpotPoints

        public List<net.runelite.api.coords.WorldPoint> getSpotPoints()