-
Methods in squidpony.squidgrid.gui.gdx that return LightingHandler
Modifier and Type |
Method |
Description |
LightingHandler |
LightingHandler.addLight(int x,
int y,
Radiance light) |
Adds a Radiance as a light source at the given position.
|
LightingHandler |
LightingHandler.addLight(Coord position,
Radiance light) |
Adds a Radiance as a light source at the given position.
|
LightingHandler |
LightingHandler.moveLight(int oldX,
int oldY,
int newX,
int newY) |
If a Radiance is present at oldX,oldY, this will move it to newX,newY and overwrite any existing Radiance at
newX,newY.
|
LightingHandler |
LightingHandler.moveLight(Coord oldPosition,
Coord newPosition) |
If a Radiance is present at oldPosition, this will move it to newPosition and overwrite any existing Radiance at
newPosition.
|
LightingHandler |
LightingHandler.removeLight(int x,
int y) |
Removes a Radiance as a light source from the given position, if any is present.
|
LightingHandler |
LightingHandler.removeLight(Coord position) |
Removes a Radiance as a light source from the given position, if any is present.
|