Class HeadbarEvent

    • Constructor Detail

      • HeadbarEvent

        public HeadbarEvent​(PathingEntity<?> source,
                            int id,
                            int width)
        Constructs a prototypical Event.
        Parameters:
        source - The object on which the Event initially occurred.
        Throws:
        IllegalArgumentException - if source is null.
    • Method Detail

      • getId

        public int getId()
      • getWidth

        public int getWidth()
      • getPercent

        public int getPercent​(RSHealthBar provider)
      • getPercent

        public int getPercent()