Class HitsplatEvent

java.lang.Object
java.util.EventObject
org.rspeer.event.Event<PathingEntity<?>>
org.rspeer.game.event.GameEvent<PathingEntity<?>>
org.rspeer.game.event.HitsplatEvent
All Implemented Interfaces:
Serializable

public class HitsplatEvent extends GameEvent<PathingEntity<?>>
See Also:
  • Constructor Details

    • HitsplatEvent

      public HitsplatEvent(PathingEntity<?> source, int type, int damage)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details

    • getDamage

      public int getDamage()
    • getTypeId

      public int getTypeId()
    • getType

      public Hitsplat.Type getType()