Package squidpony.squidgrid.gui.gdx
Class Filters.HallucinateFilter
java.lang.Object
squidpony.squidgrid.gui.gdx.Filters.HallucinateFilter
- All Implemented Interfaces:
IFilter<com.badlogic.gdx.graphics.Color>
- Enclosing class:
- Filters
public static class Filters.HallucinateFilter extends Object implements IFilter<com.badlogic.gdx.graphics.Color>
An IFilter that makes the colors requested from it highly saturated, with the original hue, value and a timer that
increments very slowly altering hue, with hue, value and the timer altering saturation, and the original hue,
saturation, and value all altering value. It should look like a hallucination.
A short (poorly recorded) video can be seen here http://i.imgur.com/SEw2LXe.gifv ; performance should be smoother during actual gameplay.
A short (poorly recorded) video can be seen here http://i.imgur.com/SEw2LXe.gifv ; performance should be smoother during actual gameplay.
-
Constructor Summary
Constructors Constructor Description HallucinateFilter()
Sets up a HallucinateFilter with the timer at 0.. -
Method Summary
Modifier and Type Method Description com.badlogic.gdx.graphics.Color
alter(float r, float g, float b, float a)
-
Constructor Details
-
HallucinateFilter
public HallucinateFilter()Sets up a HallucinateFilter with the timer at 0..
-
-
Method Details