Class GlobalVisualEffectEvent

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

public class GlobalVisualEffectEvent extends RPEvent
An event that tells the client to display a visual effect that affects the entire game screen.
  • Constructor Details

    • GlobalVisualEffectEvent

      public GlobalVisualEffectEvent(String effectName, int duration)
      Create a new GlobalVisualEffectEvent.
      Parameters:
      effectName - name of the effect
      duration - Duration in milliseconds. The exact interpretation is effect dependent
    • GlobalVisualEffectEvent

      public GlobalVisualEffectEvent(String effectName, int duration, int strength)
      Create a new GlobalVisualEffectEvent with a specified strength.
      Parameters:
      effectName - name of the effect
      duration - Duration in milliseconds. The exact interpretation is effect dependent
      strength - strength of the effect. The meaning is effect dependent
  • Method Details

    • generateRPClass

      public static void generateRPClass()
      Creates the rpclass.