Class Filters.WiggleFilter

java.lang.Object
squidpony.squidgrid.gui.gdx.Filters.WiggleFilter
All Implemented Interfaces:
IFilter<com.badlogic.gdx.graphics.Color>
Enclosing class:
Filters

public static class Filters.WiggleFilter
extends Object
implements IFilter<com.badlogic.gdx.graphics.Color>
An IFilter that is constructed with a palette of colors and randomly increases or decreases the red, green, and blue components of any color it is told to alter. Good for a "glitchy screen" effect.
  • Constructor Details

  • Method Details

    • alter

      public com.badlogic.gdx.graphics.Color alter​(float r, float g, float b, float a)
      Specified by:
      alter in interface IFilter<com.badlogic.gdx.graphics.Color>