Class ImageEffectEvent

All Implemented Interfaces:
Cloneable, Iterable<String>, Serializable

public class ImageEffectEvent extends RPEvent
An event that tells the client to display an image sequence at an entity or location.
  • Constructor Details

    • ImageEffectEvent

      public ImageEffectEvent(String image, boolean attached)
      Create a new ImageEffectEvent.
      Parameters:
      image - image name
      attached - if true, the effect will be bound for its life time to the source entity
    • ImageEffectEvent

      public ImageEffectEvent(String image, int x, int y)
      Create a new ImageEffectEvent at a specified location.
      Parameters:
      image - image name
      x - x coordinate of the effect
      y - y coordinate of the effect
  • Method Details

    • generateRPClass

      public static void generateRPClass()
      Creates the rpclass.