Class HitsplatEvent
java.lang.Object
java.util.EventObject
org.rspeer.event.Event<PathingEntity<?>>
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHitsplatEvent(PathingEntity<?> source, int type, int damage) Constructs a prototypical Event. -
Method Summary
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumedMethods inherited from class EventObject
toString
-
Constructor Details
-
HitsplatEvent
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
-