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, NpcChangeEvent, NpcSpawnEvent, NpcUnloadEvent, OpenSubInterfaceEvent, OverheadMessageEvent, PickableSpawnEvent, PreSceneRenderEvent, ProjectileMoveEvent, ProjectileSpawnEvent, RenderEvent, SceneObjectSpawnEvent, SceneUpdateEvent, SkillEvent, StockMarketEvent, TickEvent, TileHighlightEvent

public abstract class GameEvent<T> extends Event<T>
See Also:
  • Constructor Details

    • 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.
  • Method Details

    • getTick

      public int getTick()