Package org.rspeer.game.event
Class GameEvent<T>
- java.lang.Object
-
- java.util.EventObject
-
- org.rspeer.event.Event<T>
-
- org.rspeer.game.event.GameEvent<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AnimationEvent
,AudioEffectEvent
,ChatMessageEvent
,ChunkUpdateEvent
,ClientScriptEvent
,DeathEvent
,EffectObjectSpawnEvent
,GameStateEvent
,HitsplatEvent
,InventoryEvent
,LootEvent
,MenuActionEvent
,MouseRecordEvent
,MovementEvent
,NpcChangeEvent
,NpcSpawnEvent
,NpcUnloadEvent
,OpenSubInterfaceEvent
,OverheadMessageEvent
,PathingEntityEffectEvent
,PickableSpawnEvent
,PostClientScriptEvent
,PreClientScriptEvent
,PreSceneRenderEvent
,ProjectileMoveEvent
,ProjectileSpawnEvent
,RenderEvent
,SceneObjectSpawnEvent
,SceneUpdateEvent
,SkillEvent
,StanceEvent
,StockMarketEvent
,TargetEvent
,TickEvent
,TileHighlightEvent
,VarcIntegerEvent
,VarcStringEvent
public abstract class GameEvent<T> extends Event<T>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTick()
-
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
GameEvent
public GameEvent(T source)
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-