Package | Description |
---|---|
cell2d | |
cell2d.space |
Modifier and Type | Class and Description |
---|---|
class |
ColorFilter
A ColorFilter is a Filter that blends the RGB value of each pixel in the
original image with that of a single Color that it uses.
|
class |
ColorMapFilter
A ColorMapFilter is a Filter that uses a Map<Color,Color> to replace
some RGB values with others in the filtered image.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Filter> |
Sprite.getFilters()
Returns the Set of Filters that will have an effect on this Sprite when
applied to it with draw().
|
java.util.Set<Filter> |
SpriteSheet.getFilters()
Returns the Set of Filters that will have an effect on this SpriteSheet's
Sprites when applied to them with draw().
|
Modifier and Type | Method and Description |
---|---|
void |
AnimationInstance.draw(org.newdawn.slick.Graphics g,
int x,
int y,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
Drawable.draw(org.newdawn.slick.Graphics g,
int x,
int y,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter)
Draws this Drawable to the specified Graphics context.
|
void |
Sprite.draw(org.newdawn.slick.Graphics g,
int x,
int y,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
AnimationInstance.draw(org.newdawn.slick.Graphics g,
int x,
int y,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
void |
Drawable.draw(org.newdawn.slick.Graphics g,
int x,
int y,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter)
Draws this Drawable to the specified Graphics context.
|
void |
Sprite.draw(org.newdawn.slick.Graphics g,
int x,
int y,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
void |
AnimationInstance.draw(org.newdawn.slick.Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
Drawable.draw(org.newdawn.slick.Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter)
Draws a rectangular region of this Drawable to the specified Graphics
context.
|
void |
Sprite.draw(org.newdawn.slick.Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
AnimationInstance.draw(org.newdawn.slick.Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
void |
Drawable.draw(org.newdawn.slick.Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter)
Draws a rectangular region of this Drawable to the specified Graphics
context.
|
void |
Sprite.draw(org.newdawn.slick.Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
Constructor and Description |
---|
Sprite(Sprite sprite,
Filter filter,
boolean load)
Creates a new Sprite from an existing Sprite with a Filter applied to it.
|
SpriteSheet(SpriteSheet spriteSheet,
Filter filter,
boolean load)
Creates a new SpriteSheet from an existing SpriteSheet with a Filter
applied to it.
|
Constructor and Description |
---|
Sprite(java.lang.String path,
int originX,
int originY,
org.newdawn.slick.Color transColor,
java.util.Set<Filter> filters,
boolean load)
Creates a new Sprite from an image file.
|
Sprite(java.lang.String path,
int originX,
int originY,
int transR,
int transG,
int transB,
java.util.Set<Filter> filters,
boolean load)
Creates a new Sprite from an image file.
|
Sprite(java.lang.String path,
int originX,
int originY,
java.util.Set<Filter> filters,
boolean load)
Creates a new Sprite from an image file.
|
SpriteSheet(java.lang.String path,
int width,
int height,
int spriteWidth,
int spriteHeight,
int spriteSpacing,
int originX,
int originY,
org.newdawn.slick.Color transColor,
java.util.Set<Filter> filters,
boolean load)
Creates a new SpriteSheet from an image file.
|
SpriteSheet(java.lang.String path,
int width,
int height,
int spriteWidth,
int spriteHeight,
int spriteSpacing,
int originX,
int originY,
int transR,
int transG,
int transB,
java.util.Set<Filter> filters,
boolean load)
Creates a new SpriteSheet from an image file.
|
SpriteSheet(java.lang.String path,
int width,
int height,
int spriteWidth,
int spriteHeight,
int spriteSpacing,
int originX,
int originY,
java.util.Set<Filter> filters,
boolean load)
Creates a new SpriteSheet from an image file.
|
Modifier and Type | Method and Description |
---|---|
Filter |
SpaceObject.getFilter()
Returns this SpaceObject's Filter, or null if it has none.
|
Modifier and Type | Method and Description |
---|---|
void |
SpaceObject.setFilter(Filter filter)
Sets this SpaceObject's Filter to the specified Filter, or to none if the
specified Filter is null.
|