Package squidpony.squidgrid.gui.gdx
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 Summary
Constructors Constructor Description WiggleFilter()
-
Method Summary
Modifier and Type Method Description com.badlogic.gdx.graphics.Color
alter(float r, float g, float b, float a)
-
Constructor Details
-
WiggleFilter
public WiggleFilter()
-
-
Method Details