Modifier and Type | Method and Description |
---|---|
SquidLayers |
SquidLayers.addExtraLayer()
Add an extra layer on top of the foreground layer.
|
SquidLayers |
SquidLayers.bump(AnimatedEntity ae,
squidpony.squidgrid.Direction dir) |
SquidLayers |
SquidLayers.bump(AnimatedEntity ae,
int layer,
squidpony.squidgrid.Direction dir,
float duration) |
SquidLayers |
SquidLayers.bump(int x,
int y,
squidpony.squidgrid.Direction dir) |
SquidLayers |
SquidLayers.bump(int x,
int y,
int layer,
squidpony.squidgrid.Direction dir,
float duration) |
SquidLayers |
SquidLayers.clear(int x,
int y)
Clear one cell at position x, y of its foreground contents.
|
SquidLayers |
SquidLayers.erase()
Erase everything visible in all cells or all layers.
|
SquidLayers |
SquidLayers.eraseLayer(int layer) |
SquidLayers |
SquidLayers.highlight(int x,
int y,
int lightness)
Change the lightness for the background of the cell at x, y (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.highlight(int x,
int y,
int[][] lightness)
Change the lightness for the background of the cell at x, y (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c)
Place a char c into the foreground at position x, y, with the default color.
|
SquidLayers |
SquidLayers.put(int x,
int y,
char[][] c) |
SquidLayers |
SquidLayers.put(int x,
int y,
char[][] c,
ArrayList<com.badlogic.gdx.graphics.Color> alternatePalette,
int[][] foregroundIndex,
int[][] backgroundIndex,
int[][] backgroundLightness)
Place a char c into the foreground, with a foreground color specified by an index into alternatePalette, a
background color specified in the same way, and a lightness variation for the background (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.put(int x,
int y,
char[][] c,
com.badlogic.gdx.graphics.Color[][] foregrounds,
com.badlogic.gdx.graphics.Color[][] backgrounds,
int[][] backgroundLightness)
Place a char c into the foreground, with a foreground color specified by an index into alternatePalette, a
background color specified in the same way, and a lightness variation for the background (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.put(int x,
int y,
char[][] c,
int[][] foregroundIndex) |
SquidLayers |
SquidLayers.put(int x,
int y,
char[][] c,
int[][] foregroundIndex,
ArrayList<com.badlogic.gdx.graphics.Color> fgPalette,
int[][] backgroundIndex,
ArrayList<com.badlogic.gdx.graphics.Color> bgPalette,
int[][] backgroundLightness)
Place a char c into the foreground, with a foreground color specified by an index into alternatePalette, a
background color specified in the same way, and a lightness variation for the background (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.put(int x,
int y,
char[][] c,
int[][] foregroundIndex,
int[][] backgroundIndex) |
SquidLayers |
SquidLayers.put(int x,
int y,
char[][] c,
int[][] foregroundIndex,
int[][] backgroundIndex,
int[][] backgroundLightness)
Place a char[][] c into the foreground, with a foreground color specified by an index into alternatePalette, a
background color specified in the same way, and a lightness variation for the background (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c,
ArrayList<com.badlogic.gdx.graphics.Color> alternatePalette,
int foregroundIndex,
int backgroundIndex,
int backgroundLightness)
Place a char c into the foreground, with a foreground color specified by an index into alternatePalette, a
background color specified in the same way, and a lightness variation for the background (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c,
com.badlogic.gdx.graphics.Color foreground)
Place a char c into the foreground, with a foreground color specified by an index into the default palette.
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c,
com.badlogic.gdx.graphics.Color foreground,
com.badlogic.gdx.graphics.Color background)
Place a char c into the foreground, with a foreground color specified by an index into the default palette, and a
background color specified in the same way.
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c,
com.badlogic.gdx.graphics.Color foreground,
com.badlogic.gdx.graphics.Color background,
int backgroundLightness)
Place a char c into the foreground, with a foreground and background libGDX Color and a lightness variation for
the background (0 is no change, 255 will nearly double the brightness (capping at white), -255 will reduce the
color to nearly black (for most colors, all the way to black), and values in between will be proportional..
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c,
int foregroundIndex)
Place a char c into the foreground, with a foreground color specified by an index into the default palette.
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c,
int foregroundIndex,
ArrayList<com.badlogic.gdx.graphics.Color> fgPalette,
int backgroundIndex,
ArrayList<com.badlogic.gdx.graphics.Color> bgPalette,
int backgroundLightness)
Place a char c into the foreground, with a foreground color specified by an index into alternatePalette, a
background color specified in the same way, and a lightness variation for the background (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c,
int foregroundIndex,
int backgroundIndex)
Place a char c into the foreground, with a foreground color specified by an index into the default palette, and a
background color specified in the same way.
|
SquidLayers |
SquidLayers.put(int x,
int y,
char c,
int foregroundIndex,
int backgroundIndex,
int backgroundLightness)
Place a char c into the foreground, with a foreground color specified by an index into the default palette, a
background color specified in the same way, and a lightness variation for the background (0 is no change, 100 is
very bright, -100 is very dark, anything past -150 or 150 will make the background almost fully black or white).
|
SquidLayers |
SquidLayers.putBoxedString(int x,
int y,
String s)
A utility method that draws a 1-cell-wide black box around the text you request (as s) and replaces the contents
of anything that was below or adjacent to the string's new position.
|
SquidLayers |
SquidLayers.putInto(int layer,
int x,
int y,
char c)
Place a char c into the specified layer, with a color specified by an index into alternatePalette.
|
SquidLayers |
SquidLayers.putInto(int layer,
int x,
int y,
char[][] c)
Place a char c[][] into the specified layer, with a color specified by an index into alternatePalette.
|
SquidLayers |
SquidLayers.putInto(int layer,
int x,
int y,
char[][] c,
ArrayList<com.badlogic.gdx.graphics.Color> alternatePalette,
int[][] colorIndex)
Place a char c[][] into the specified layer, with a color specified by an index into alternatePalette.
|
SquidLayers |
SquidLayers.putInto(int layer,
int x,
int y,
char[][] c,
com.badlogic.gdx.graphics.Color[][] colors)
Place a char c[][] into the specified layer, with a color specified by an index into alternatePalette.
|
SquidLayers |
SquidLayers.putInto(int layer,
int x,
int y,
char[][] c,
int[][] colorIndex)
Place a char c[][] into the specified layer, with a color specified by an index into the default palette.
|
SquidLayers |
SquidLayers.putInto(int layer,
int x,
int y,
char c,
ArrayList<com.badlogic.gdx.graphics.Color> alternatePalette,
int colorIndex)
Place a char c into the specified layer, with a color specified by an index into alternatePalette.
|
SquidLayers |
SquidLayers.putInto(int layer,
int x,
int y,
char c,
com.badlogic.gdx.graphics.Color color)
Place a char c into the foreground, with a foreground color specified by an index into the default palette.
|
SquidLayers |
SquidLayers.putInto(int layer,
int x,
int y,
char c,
int colorIndex)
Place a char c into the specified layer, with a color specified by an index into the default palette.
|
SquidLayers |
SquidLayers.putString(int x,
int y,
String s)
Put a string at the given x, y position, using the default color.
|
SquidLayers |
SquidLayers.putString(int x,
int y,
String s,
ArrayList<com.badlogic.gdx.graphics.Color> alternatePalette,
int foregroundIndex,
int backgroundIndex)
Put a string at the given x, y position, with the given indices for foreground and background color that look up
their index in alternatePalette.
|
SquidLayers |
SquidLayers.putString(int x,
int y,
String s,
com.badlogic.gdx.graphics.Color foreground,
com.badlogic.gdx.graphics.Color background)
Put a string at the given x, y position, with the given indices for foreground and background color that look up
their index in alternatePalette.
|
SquidLayers |
SquidLayers.putString(int x,
int y,
String s,
int foregroundIndex)
Put a string at the given x, y position, with the given index for foreground color that gets looked up in the
default palette.
|
SquidLayers |
SquidLayers.putString(int x,
int y,
String s,
int foregroundIndex,
int backgroundIndex)
Put a string at the given x, y position, with the given indices for foreground and background color that look up
their index in the default palette.
|
SquidLayers |
SquidLayers.setTextSize(int wide,
int high)
Sets the size of the text in all layers (but not the size of the cells) to the given width and height in pixels
(which may be stretched by viewports later on, if your program uses them).
|
SquidLayers |
SquidLayers.setTextSize(int layer,
int wide,
int high)
Sets the size of the text in the given layer (but not the size of the cells) to the given width and height in
pixels (which may be stretched by viewports later on, if your program uses them).
|
SquidLayers |
SquidLayers.slide(AnimatedEntity ae,
int endX,
int endY) |
SquidLayers |
SquidLayers.slide(AnimatedEntity ae,
int endX,
int endY,
int layer,
float duration) |
SquidLayers |
SquidLayers.slide(int x,
int y,
int endX,
int endY) |
SquidLayers |
SquidLayers.slide(int x,
int y,
int endX,
int endY,
int layer,
float duration) |
SquidLayers |
SquidLayers.tint(AnimatedEntity ae,
com.badlogic.gdx.graphics.Color color) |
SquidLayers |
SquidLayers.tint(AnimatedEntity ae,
com.badlogic.gdx.graphics.Color color,
int layer,
float duration) |
SquidLayers |
SquidLayers.tint(int x,
int y,
com.badlogic.gdx.graphics.Color color) |
SquidLayers |
SquidLayers.tint(int x,
int y,
com.badlogic.gdx.graphics.Color color,
int layer,
float duration) |
SquidLayers |
SquidLayers.wiggle(AnimatedEntity ae) |
SquidLayers |
SquidLayers.wiggle(AnimatedEntity ae,
int layer,
float duration) |
SquidLayers |
SquidLayers.wiggle(int x,
int y) |
SquidLayers |
SquidLayers.wiggle(int x,
int y,
int layer,
float duration) |
Copyright © 2012–2016. All rights reserved.