Class Filters.MaxValueFilter

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

public static class Filters.MaxValueFilter
extends Object
implements IFilter<com.badlogic.gdx.graphics.Color>
An IFilter that tracks the highest brightness for any component it was assigned and stores it in its state field. You probably want to set state to 0f before filtering a bunch of colors, if this is being used to find the brightest color on the screen.