Package org.rspeer.game.event
Class AnimationEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAnimationEvent
(PathingEntity source, int previous, int current) 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
-
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
-