Class AnimationEvent
java.lang.Object
java.util.EventObject
org.rspeer.event.Event<PathingEntity<?>>
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAnimationEvent(PathingEntity source, int previous, int current) Constructs a prototypical Event. -
Method Summary
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumedMethods inherited from class EventObject
toString
-
Constructor Details
-
AnimationEvent
Constructs a prototypical Event.- Parameters:
source- The object on which the Event initially occurred.- Throws:
IllegalArgumentException- if source is null.
-
-
Method Details
-
getPrevious
public int getPrevious() -
getCurrent
public int getCurrent() -
getType
-