Package org.rspeer.game.event
Class HitsplatEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionHitsplatEvent
(PathingEntity<?> source, int type, int damage, int specialType, int specialDamage) Constructs a prototypical Event. -
Method Summary
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
HitsplatEvent
public HitsplatEvent(PathingEntity<?> source, int type, int damage, int specialType, int specialDamage) 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() -
getSpecialTypeId
public int getSpecialTypeId() -
getTypeId
public int getTypeId() -
getSpecialDamage
public int getSpecialDamage() -
getType
-
getSpecialType
-