Class Event<T extends Entity>

java.lang.Object
games.stendhal.client.events.Event<T>
Type Parameters:
T - entity
Direct Known Subclasses:
AttackEvent, BestiaryEvent, ShowOutfitListEvent

public abstract class Event<T extends Entity> extends Object
abstract parent class for client side event handling
Author:
hendrik
  • Field Details

    • entity

      protected T extends Entity entity
    • event

      protected RPEvent event
  • Constructor Details

    • Event

      public Event()
  • Method Details

    • init

      public void init(T entity, RPEvent event)
      initializes the event
      Parameters:
      entity - the Entity which caused the event
      event - RPEvent
    • execute

      public abstract void execute()
      executes the event