public class DarknessColors
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static @NotNull java.awt.Color |
BLACK_AND_FOG_OF_WAR_COLOR
The combined color or
Color.BLACK and FOG_OF_WAR_COLOR . |
static @NotNull java.awt.Color |
FOG_OF_WAR_COLOR
The color to use for overlaying fog-of-war tiles.
|
Constructor and Description |
---|
DarknessColors() |
Modifier and Type | Method and Description |
---|---|
@NotNull java.awt.Color |
getDarknessColor(int darkness)
Returns an overlay color for a darkness value.
|
@NotNull public static final @NotNull java.awt.Color FOG_OF_WAR_COLOR
@NotNull public static final @NotNull java.awt.Color BLACK_AND_FOG_OF_WAR_COLOR
Color.BLACK
and FOG_OF_WAR_COLOR
.