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, ChatMessageEvent, ClientScriptEvent, DeathEvent, EffectObjectSpawnEvent, FrameEvent, GameStateEvent, HeadbarEvent, HitsplatEvent, InventoryEvent, MenuActionEvent, MovementEvent, NpcChangeEvent, NpcLoadEvent, NpcSpawnEvent, NpcUnloadEvent, PathingEntityEffectEvent, PickableSpawnEvent, PlayerLoadEvent, PlayerUnloadEvent, PostClientScriptEvent, PreClientScriptEvent, ProjectileSpawnEvent, RenderEvent, SceneObjectSpawnEvent, SceneUpdateEvent, SkillEvent, StockMarketEvent, TickEvent, TileHighlightEvent

public abstract class GameEvent<T> extends org.rspeer.event.Event<T>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    GameEvent(T source)
    Constructs a prototypical Event.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

    Methods inherited from class org.rspeer.event.Event

    consume, getSource, isConsumed

    Methods inherited from class EventObject

    toString

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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()