Package | Description |
---|---|
squidpony.squidgrid.fov |
Modifier and Type | Class and Description |
---|---|
class |
BasicRadiusStrategy
Basic radius strategy implementations.
|
Modifier and Type | Method and Description |
---|---|
boolean[][] |
FOVTranslator.calculateFOV(boolean[][] map,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy)
Calculates the FOV using a boolean array where true indicates that the
location blocks all light.
|
float[][] |
EliasFOV.calculateFOV(float[][] resistanceMap,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy) |
float[][] |
FOVSolver.calculateFOV(float[][] resistanceMap,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy)
Calculates the Field Of View for the provided map from the given x, y
coordinates.
|
float[][] |
FOVTranslator.calculateFOV(float[][] map,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy) |
float[][] |
MergedFOV.calculateFOV(float[][] resistanceMap,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy) |
float[][] |
RayCastingFOV.calculateFOV(float[][] resistanceMap,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy) |
float[][] |
RippleFOV.calculateFOV(float[][] map,
int startx,
int starty,
float force,
float decay,
RadiusStrategy rStrat) |
float[][] |
ShadowFOV.calculateFOV(float[][] resistanceMap,
int startx,
int starty,
float force,
float decay,
RadiusStrategy rStrat) |
float[][] |
SpreadFOV.calculateFOV(float[][] map,
int startx,
int starty,
float force,
float decay,
RadiusStrategy rStrat) |
float[][] |
ThreadedFOVSolver.calculateFOV(float[][] resistanceMap,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy) |
float[][] |
TranslucenceWrapperFOV.calculateFOV(float[][] resistanceMap,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy) |
int[][] |
FOVTranslator.calculateFOV(int[][] map,
int startx,
int starty,
float force,
float decay,
RadiusStrategy radiusStrategy,
float scale)
Calculates the FOV using an integer array.
|
boolean |
BresenhamLOS.isReachable(float[][] resistanceMap,
int startx,
int starty,
int targetx,
int targety,
float force,
float decay,
RadiusStrategy radiusStrategy) |
boolean |
EliasLOS.isReachable(float[][] resistanceMap,
int startx,
int starty,
int targetx,
int targety,
float force,
float decay,
RadiusStrategy radiusStrategy) |
boolean |
LOSSolver.isReachable(float[][] resistanceMap,
int startx,
int starty,
int targetx,
int targety,
float force,
float decay,
RadiusStrategy radiusStrategy)
Returns true if a line can be drawn from the start point to the target
point without intervening obstructions.
|
boolean |
RayCastingLOS.isReachable(float[][] resistanceMap,
int startx,
int starty,
int targetx,
int targety,
float force,
float decay,
RadiusStrategy radiusStrategy) |
Constructor and Description |
---|
ThreadedFOVSolver(FOVSolver solver,
int startx,
int starty,
float force,
float decay,
RadiusStrategy strategy)
Builds a FOVSolver which will use the full information for calculations
when run as a Thread.
|