Package | Description |
---|---|
org.cell2d | |
org.cell2d.space | |
org.cell2d.space.map |
Modifier and Type | Field and Description |
---|---|
static Color |
Color.BLACK
The color black.
|
static Color |
Color.TRANSPARENT
A completely transparent Color.
|
static Color |
Color.WHITE
The color white.
|
Modifier and Type | Method and Description |
---|---|
Color |
ColorFilter.getColor()
Returns the Color that this ColorFilter uses.
|
Color |
ColorMultiplyFilter.getColor()
Returns the Color that this ColorMultiplyFilter uses.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<Color,Color> |
ColorMapFilter.getColorMap()
Returns an unmodifiable view of the Map that this ColorMapFilter uses.
|
java.util.Map<Color,Color> |
ColorMapFilter.getColorMap()
Returns an unmodifiable view of the Map that this ColorMapFilter uses.
|
Modifier and Type | Method and Description |
---|---|
void |
CellGame.enterState(int id,
Color fadeColor,
int fadeOutTime,
int fadeInTime)
Instructs this CellGame to enter its GameState with the specified ID the
next time it finishes a game logic update, using a visual
fade-out/fade-in effect to transition to it from the current GameState.
|
Constructor and Description |
---|
ColorFilter(Color color)
Constructs a ColorFilter that uses the specified Color.
|
ColorMapFilter(Color key,
Color value)
Constructs a ColorMapFilter with a Map that maps the specified key Color
to the specified value Color.
|
ColorMultiplyFilter(Color color)
Constructs a ColorMultiplyFilter that uses the specified Color.
|
Sprite(java.lang.String path,
int originX,
int originY,
Color transColor,
boolean load,
Filter... filters)
Constructs a Sprite from an image file.
|
SpriteSheet(java.lang.String path,
int width,
int height,
int spriteWidth,
int spriteHeight,
int spacing,
int margin,
int originX,
int originY,
Color transColor,
boolean load,
Filter... filters)
Constructs a SpriteSheet from an image file.
|
Constructor and Description |
---|
ColorMapFilter(java.util.Map<Color,Color> colorMap)
Constructs a ColorMapFilter that uses a copy of the specified Map.
|
ColorMapFilter(java.util.Map<Color,Color> colorMap)
Constructs a ColorMapFilter that uses a copy of the specified Map.
|
Modifier and Type | Method and Description |
---|---|
Color |
ColorSpaceLayer.getColor()
Returns the Color that this ColorSpaceLayer displays.
|
Modifier and Type | Method and Description |
---|---|
void |
ColorSpaceLayer.setColor(Color color)
Sets the Color that this ColorSpaceLayer displays to the specified Color.
|
Constructor and Description |
---|
ColorSpaceLayer(Color color)
Constructs a ColorSpaceLayer that displays the specified Color.
|
Modifier and Type | Method and Description |
---|---|
static Color |
TiledArea.getTintColor(org.tiledreader.TiledLayer layer)
Returns a Cell2D Color that represents the tint color of the specified
TiledLayer.
|
static Color |
TiledArea.getTransColor(org.tiledreader.TiledImage image)
Returns the transparent color of the specified TiledImage as a Cell2D
Color, or null if the TiledImage does not have a transparent color.
|