Package org.rspeer.game.event
Class VarcStringEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.rspeer.event.Event<T>
-
- org.rspeer.game.event.GameEvent<RSVarcs>
-
- org.rspeer.game.event.VarcStringEvent
-
- All Implemented Interfaces:
Serializable
public class VarcStringEvent extends GameEvent<RSVarcs>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VarcStringEvent(RSVarcs source, int index, String previous, String current)
Constructs a prototypical Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCurrent()
int
getIndex()
String
getPrevious()
-
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
VarcStringEvent
public VarcStringEvent(RSVarcs source, int index, String previous, String current)
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-