Package org.rspeer.game.event
Class RandomPacketEvent
java.lang.Object
java.util.EventObject
org.rspeer.event.Event<byte[]>
org.rspeer.game.event.RandomPacketEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionRandomPacketEvent
(byte[] source, String username, RandomPacketEvent.Type type) 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
-
RandomPacketEvent
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Details
-
getUsername
-
getType
-