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.
  • 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>