Interface Projectile

    • Method Detail

      • getId

        @Deprecated
        default int getId()
        Deprecated.
        use the definition's id.
        An id that can be used to identify this projectile
        Specified by:
        getId in interface Identifiable
      • getSource

        @Deprecated
        Actor getSource()
        Deprecated.
        Never worked as intended, purpose of hook was misunderstood.
        The character that this projectile originated from. This information is only available on RS3
      • getTarget

        @Nullable
        @Nullable Actor getTarget()
        The character that this projectile is targeting/attacking
        Returns:
        The character if available, otherwise null
      • getSpotAnimationId

        int getSpotAnimationId()
      • getLaunchCycle

        @OSRSOnly
        int getLaunchCycle()
      • getImpactCycle

        int getImpactCycle()
      • hasLaunched

        boolean hasLaunched()