Modifier and Type | Method and Description |
---|---|
LightingHandler |
LightingHandler.addLight(squidpony.squidmath.Coord position,
Radiance light)
Adds a Radiance as a light source at the given position.
|
LightingHandler |
LightingHandler.addLight(int x,
int y,
Radiance light)
Adds a Radiance as a light source at the given position.
|
LightingHandler |
LightingHandler.moveLight(squidpony.squidmath.Coord oldPosition,
squidpony.squidmath.Coord newPosition)
If a Radiance is present at oldPosition, this will move it to newPosition and overwrite any existing Radiance at
newPosition.
|
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.removeLight(squidpony.squidmath.Coord position)
Removes a Radiance as a light source from the given position, if any is present.
|
LightingHandler |
LightingHandler.removeLight(int x,
int y)
Removes a Radiance as a light source from the given position, if any is present.
|
Copyright © Eben Howard 2012–2022. All rights reserved.