Class LightningEffect


public class LightningEffect extends EffectLayer
An effect that flashes the screen for specified duration, using the event strength attribute as the alpha value of the drawn flash.
  • Constructor Details

    • LightningEffect

      public LightningEffect(int duration, int strength)
  • Method Details

    • drawScreen

      public void drawScreen(Graphics g, int x, int y, int w, int h)