Package org.rspeer.game.event
Class LocalStorageEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.rspeer.event.Event<Object>
-
- org.rspeer.game.event.LocalStorageEvent
-
- All Implemented Interfaces:
Serializable
public class LocalStorageEvent extends Event<Object>
Currently only used for breaks and gameaccounts- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LocalStorageEvent.Type
-
Constructor Summary
Constructors Constructor Description LocalStorageEvent(Object source, LocalStorageEvent.Type type)
Constructs a prototypical Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalStorageEvent.Type
getType()
-
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
LocalStorageEvent
public LocalStorageEvent(Object source, LocalStorageEvent.Type type)
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Detail
-
getType
public LocalStorageEvent.Type getType()
-
-