- f(int, int) - Method in class squidpony.squidmath.AStarSearch
-
Combines g and h to get the estimated distance from start to goal going on the current route.
- f_constraint - Variable in class squidpony.squidgrid.mapping.styled.Tile
-
- factorial(int) - Static method in class squidpony.squidmath.MathExtras
-
Calculates the factorial of n where n is a number in the
range 0 - 20.
- FakeLanguageGen - Class in squidpony
-
A text generator for producing sentences and/or words in nonsense languages that fit a theme.
- FakeLanguageGen() - Constructor for class squidpony.FakeLanguageGen
-
Zero-arg constructor for a FakeLanguageGen; produces a FakeLanguageGen equivalent to FakeLanguageGen.ENGLISH .
- FakeLanguageGen(String[], String[], String[], String[], String[], String[], String[], int[], double[], double, double, double, double) - Constructor for class squidpony.FakeLanguageGen
-
This is a very complicated constructor! Maybe look at the calls to this to initialize static members of this
class, LOVECRAFT and GREEK_ROMANIZED.
- FakeLanguageGen(String[], String[], String[], String[], String[], String[], String[], int[], double[], double, double, double, double, Pattern[], boolean) - Constructor for class squidpony.FakeLanguageGen
-
This is a very complicated constructor! Maybe look at the calls to this to initialize static members of this
class, LOVECRAFT and GREEK_ROMANIZED.
- FakeLanguageGen.Alteration - Class in squidpony
-
- FakeLanguageGen.Modifier - Class in squidpony
-
- FANCY_FANTASY_NAME - Static variable in class squidpony.FakeLanguageGen
-
A mix of four different languages with some accented characters added onto an ASCII base, that can be good for
generating single words for creature or place names in fantasy settings that should have a "fancy" feeling from
having unnecessary accents added primarily for visual reasons.
- FANTASY_NAME - Static variable in class squidpony.FakeLanguageGen
-
A mix of four different languages, using only ASCII characters, that is meant for generating single words for
creature or place names in fantasy settings.
- fg - Variable in class squidpony.panel.ICombinedPanel.Impl
-
- fill(ICombinedPanel.What, T) - Method in interface squidpony.panel.ICombinedPanel
-
- fill(ICombinedPanel.What, T) - Method in class squidpony.panel.ICombinedPanel.Impl
-
- fill(boolean[][], int, double, int, RNG) - Static method in class squidpony.squidgrid.MimicFill
-
- fill2D(char, int, int) - Static method in class squidpony.GwtCompatibility
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill2D(double, int, int) - Static method in class squidpony.GwtCompatibility
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill2D(int, int, int) - Static method in class squidpony.GwtCompatibility
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill2D(boolean, int, int) - Static method in class squidpony.GwtCompatibility
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- filled - Variable in class squidpony.squidgrid.MultiSpill
-
The amount of cells filled by this Spill, which may be less than the volume passed to start() if the boundaries
are reached on all sides and the Spill has no more room to fill.
- filled - Variable in class squidpony.squidgrid.Spill
-
The amount of cells filled by this Spill, which may be less than the volume passed to start() if the boundaries
are reached on all sides and the Spill has no more room to fill.
- filter(T) - Method in interface squidpony.IColorCenter
-
- filter(IColoredString<T>) - Method in interface squidpony.IColorCenter
-
- filter - Variable in class squidpony.IColorCenter.Skeleton
-
- filter(T) - Method in class squidpony.IColorCenter.Skeleton
-
- filter(IColoredString<T>) - Method in class squidpony.IColorCenter.Skeleton
-
- findAlerted(Set<Coord>, Map<Coord, Double>) - Method in class squidpony.squidgrid.SoundMap
-
Scans the dungeon using SoundMap.scan, adding any positions in extraSounds to the group of known sounds before
scanning.
- findArea() - Method in interface squidpony.squidai.AOE
-
This is how an AOE interacts with anything that uses it.
- findArea() - Method in class squidpony.squidai.BeamAOE
-
- findArea() - Method in class squidpony.squidai.BlastAOE
-
- findArea() - Method in class squidpony.squidai.BurstAOE
-
- findArea() - Method in class squidpony.squidai.CloudAOE
-
- findArea() - Method in class squidpony.squidai.ConeAOE
-
- findArea() - Method in class squidpony.squidai.LineAOE
-
- findArea() - Method in class squidpony.squidai.PointAOE
-
- findAttackPath(int, int, LOS, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to a goal, until preferredRange is
reached, or further from a goal if the preferredRange has not been met at the current distance.
- findAttackPath(int, int, int, LOS, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to a goal, until a cell is reached with
a distance from a goal that is at least equal to minPreferredRange and no more than maxPreferredRange,
which may go further from a goal if the minPreferredRange has not been met at the current distance.
- findAttackPath(int, int, FOVCache, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to a goal, until preferredRange is
reached, or further from a goal if the preferredRange has not been met at the current distance.
- findAttackPath(int, int, int, FOVCache, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to a goal, until a cell is reached with
a distance from a goal that is at least equal to minPreferredRange and no more than maxPreferredRange,
which may go further from a goal if the minPreferredRange has not been met at the current distance.
- findAttackPathLarge(int, int, int, LOS, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to a goal, until preferredRange is
reached, or further from a goal if the preferredRange has not been met at the current distance.
- findAttackPathLarge(int, int, int, int, LOS, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to a goal, until a cell is reached with
a distance from a goal that is at least equal to minPreferredRange and no more than maxPreferredRange,
which may go further from a goal if the minPreferredRange has not been met at the current distance.
- findCaves() - Method in class squidpony.squidgrid.mapping.RoomFinder
-
Gets all the caves this found during construction, returning them as an ArrayList of 2D char arrays, where an
individual room is "masked" so only its contents have normal map chars and the rest have only '#'.
- findCorridors() - Method in class squidpony.squidgrid.mapping.RoomFinder
-
Gets all the corridors this found during construction, returning them as an ArrayList of 2D char arrays, where an
individual corridor is "masked" so only its contents have normal map chars and the rest have only '#'.
- findCoveredAttackPath(int, int, int, double, Set<Coord>, Set<Coord>, List<Threat>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list of Coord
positions (using the current measurement) needed to get closer to a goal while staying in areas that none of the
given threats are able to see (which should prevent them from attacking), until a cell is reached with
a distance from a goal that is at least equal to minPreferredRange and no more than maxPreferredRange,
which may go further from a goal if the minPreferredRange has not been met at the current distance.
- findCoveredAttackPath(int, int, double, FOV, boolean, Set<Coord>, Set<Coord>, List<Threat>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list of Coord
positions (using the current measurement) needed to get closer to a goal while staying in areas that none of the
given threats are able to see (which should prevent them from attacking), until a cell is reached with
a distance from a goal that is at equal to preferredRange,
which may go further from a goal if the preferredRange has not been met at the current distance.
- findCoveredAttackPath(int, int, int, double, FOV, boolean, Set<Coord>, Set<Coord>, List<Threat>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list of Coord
positions (using the current measurement) needed to get closer to a goal while staying in areas that none of the
given threats are able to see (which should prevent them from attacking), until a cell is reached with
a distance from a goal that is at least equal to minPreferredRange and no more than maxPreferredRange,
which may go further from a goal if the minPreferredRange has not been met at the current distance.
- findCoveredAttackPath(int, int, double, FOVCache, boolean, Set<Coord>, Set<Coord>, List<Threat>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list of Coord
positions (using the current measurement) needed to get closer to a goal while staying in areas that none of the
given threats are able to see (which should prevent them from attacking), until a cell is reached with
a distance from a goal that is at equal to preferredRange,
which may go further from a goal if the preferredRange has not been met at the current distance.
- findCoveredAttackPath(int, int, int, double, FOVCache, boolean, Set<Coord>, Set<Coord>, List<Threat>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list of Coord
positions (using the current measurement) needed to get closer to a goal while staying in areas that none of the
given threats are able to see (which should prevent them from attacking), until a cell is reached with
a distance from a goal that is at least equal to minPreferredRange and no more than maxPreferredRange,
which may go further from a goal if the minPreferredRange has not been met at the current distance.
- finder - Variable in class squidpony.squidgrid.mapping.Placement
-
The RoomFinder this uses internally to find placement areas only where they are appropriate.
- finder - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
- findFleePath(int, double, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed fearSources and start point, and returns a list
of Coord positions (using Manhattan distance) needed to get further from the closest fearSources, meant
for running away.
- findFleePathLarge(int, int, double, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed fearSources and start point, and returns a list
of Coord positions (using Manhattan distance) needed to get further from the closest fearSources, meant
for running away.
- findKey(Object, boolean) - Method in class squidpony.squidmath.RegionMap
-
Returns the key for the specified value, or null if it is not in the map.
- findManyPacked(int, int, short[]...) - Static method in class squidpony.squidmath.CoordPacker
-
Quickly determines if an x,y position is true or false in one of the given packed arrays, without unpacking them,
and returns a List of all packed arrays that contain the position.
- findManyPackedHilbert(short, short[]...) - Static method in class squidpony.squidmath.CoordPacker
-
Quickly determines if a Hilbert Curve index corresponds to true or false in one of the given packed arrays,
without unpacking them, and returns a List of all packed arrays that contain the position.
- findMeasurement(Radius) - Static method in class squidpony.squidai.DijkstraMap
-
Gets the appropriate DijkstraMap.Measurement to pass to a constructor if you already have a Radius.
- findNearest(Coord, Set<Coord>) - Method in class squidpony.squidai.DijkstraMap
-
Recalculate the Dijkstra map until it reaches a Coord in targets, then returns the first target found.
- findNearest(Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Recalculate the Dijkstra map until it reaches a Coord in targets, then returns the first target found.
- findNearestMultiple(Coord, int, Set<Coord>) - Method in class squidpony.squidai.DijkstraMap
-
Recalculate the Dijkstra map until it reaches a Coord in targets, then returns the first several targets found,
up to limit or less if the map is fully searched without finding enough.
- findNext(boolean) - Method in class squidpony.squidgrid.iterator.SquidIterators.AroundCounterClockWise
-
- findNext(boolean) - Method in class squidpony.squidgrid.iterator.SquidIterators.CenteredSquare
-
- findNext() - Method in class squidpony.squidgrid.iterator.SquidIterators.VerticalUp
-
- findNext0() - Method in class squidpony.squidgrid.iterator.SquidIterators.CenteredSquare
-
- findPath(int, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to the closest reachable
goal.
- findPathLarge(int, int, Set<Coord>, Set<Coord>, Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to the closest reachable
goal.
- findPathPreScanned(Coord) - Method in class squidpony.squidai.DijkstraMap
-
Intended primarily for internal use.
- findRadius(DijkstraMap.Measurement) - Static method in class squidpony.squidai.DijkstraMap
-
Gets the appropriate Radius corresponding to a DijkstraMap.Measurement.
- findRectangles() - Method in class squidpony.squidgrid.mapping.RectangleRoomFinder
-
- findRegions() - Method in class squidpony.squidgrid.mapping.RoomFinder
-
Gets all the rooms, corridors, and caves this found during construction, returning them as an ArrayList of 2D
char arrays, where an individual room or corridor is "masked" so only its contents have normal map chars and the
rest have only '#'.
- findRooms() - Method in class squidpony.squidgrid.mapping.RoomFinder
-
Gets all the rooms this found during construction, returning them as an ArrayList of 2D char arrays, where an
individual room is "masked" so only its contents have normal map chars and the rest have only '#'.
- findShortcutPath(Coord, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
If you have a target or group of targets you want to pathfind to without scanning the full map, this can be good.
- findTechniquePath(int, Technique, char[][], LOS, Set<Coord>, Set<Coord>, Coord, Set<Coord>) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to a goal, where goals are
considered valid if they are at a valid range for the given Technique to hit at least one target
and ideal if that Technique can affect as many targets as possible from a cell that can be moved
to with at most movelength steps.
- findTechniquePath(int, Technique, char[][], FOVCache, Set<Coord>, Set<Coord>, Coord, Set<Coord>) - Method in class squidpony.squidai.DijkstraMap
-
Scans the dungeon using DijkstraMap.scan with the listed goals and start point, and returns a list
of Coord positions (using the current measurement) needed to get closer to a goal, where goals are
considered valid if they are at a valid range for the given Technique to hit at least one target
and ideal if that Technique can affect as many targets as possible from a cell that can be moved
to with at most movelength steps.
- first(Iterable<T>) - Static method in class squidpony.GwtCompatibility
-
Gets the first item in an Iterable of T, or null if it is empty.
- first() - Method in class squidpony.squidmath.ShortSet
-
- first() - Method in class squidpony.squidmath.ShortVLA
-
Returns the first item.
- fixedRooms - Variable in class squidpony.squidgrid.mapping.MixedGenerator
-
- flip(boolean, boolean) - Method in class squidpony.squidgrid.mapping.MapModule
-
- FLOAT_UNIT - Static variable in class squidpony.squidmath.RNG
-
- flood(short[], short[], int) - Static method in class squidpony.squidmath.CoordPacker
-
Given a packed array encoding a larger area, a packed array encoding one or more points inside bounds, and an
amount of expansion, expands each cell in start by a Manhattan (diamond) radius equal to expansion, limiting any
expansion to within bounds and returning the final expanded (limited) packed data.
- flood(short[], short[], int, boolean) - Static method in class squidpony.squidmath.CoordPacker
-
Given a packed array encoding a larger area, a packed array encoding one or more points inside bounds, and an
amount of expansion, expands each cell in start by a radius (if eightWay is true, it uses Chebyshev distance; if
it is false, it uses Manhattan distance) equal to expansion, limiting any expansion to within bounds and
returning the final expanded (limited) packed data.
- floodFill(int, Coord...) - Method in class squidpony.squidai.DijkstraMap
-
A simple limited flood-fill that returns a LinkedHashMap of Coord keys to the Double values in the DijkstraMap, only
calculating out to a number of steps determined by limit.
- FLOOR - Static variable in class squidpony.squidai.DijkstraMap
-
Floor cells, which include any walkable cell, are marked with a high number equal to 999200.0 .
- FLOOR - Static variable in class squidpony.squidgrid.mapping.Terrain
-
- floors - Variable in class squidpony.squidgrid.mapping.RectangleRoomFinder
-
- FOV - Class in squidpony.squidgrid
-
This class provides methods for calculating Field of View in grids.
- FOV() - Constructor for class squidpony.squidgrid.FOV
-
Creates a solver which will use the default SHADOW solver.
- FOV(int) - Constructor for class squidpony.squidgrid.FOV
-
Creates a solver which will use the provided FOV solver type.
- fov - Variable in class squidpony.squidgrid.FOVCache
-
- FOVCache - Class in squidpony.squidgrid
-
A combined FOV calculator, partial LOS calculator, FOV/LOS compressor, and tool to store/query/extract compressed
FOV/LOS data.
- FOVCache(char[][], int, Radius) - Constructor for class squidpony.squidgrid.FOVCache
-
Create an FOVCache for a given map (as a char[][]), caching all FOV radii from 0 up to and including maxRadius,
using the given Radius enum to determine FOV shape.
- FOVCache(char[][], int, int, Radius, int) - Constructor for class squidpony.squidgrid.FOVCache
-
Create an FOVCache for a given map (as a char[][]), caching all FOV radii from 0 up to and including maxRadius,
using the given Radius enum to determine FOV shape.
- FOVCache(char[][], int, int, Radius, int, Map<Coord, Integer>) - Constructor for class squidpony.squidgrid.FOVCache
-
Create an FOVCache for a given map (as a char[][]), caching all FOV radii from 0 up to and including maxRadius,
using the given Radius enum to determine FOV shape.
- FOVCache.FOVUnit - Class in squidpony.squidgrid
-
- FOVCache.LOSUnit - Class in squidpony.squidgrid
-
- FOVCache.PerformanceUnit - Class in squidpony.squidgrid
-
- FOVCache.QualityUnit - Class in squidpony.squidgrid
-
- FOVCache.RefreshUnit - Class in squidpony.squidgrid
-
- FOVCache.SymmetryUnit - Class in squidpony.squidgrid
-
- fovPermissiveness - Variable in class squidpony.squidgrid.FOVCache
-
- FOVUnit(int) - Constructor for class squidpony.squidgrid.FOVCache.FOVUnit
-
- fractionPacked(short[], int) - Static method in class squidpony.squidmath.CoordPacker
-
Gets the positions that are "on" in the given packed array, without unpacking it, repeatedly goes through a
number of "on" cells equal to fraction and stores one of those cells as a Coord, and returns the accumulated
portion of positions as a Coord[].
- fractionPackedHilbert(short[], int) - Static method in class squidpony.squidmath.CoordPacker
-
Gets the positions that are "on" in the given packed array, without unpacking it, repeatedly goes through a
number of "on" cells equal to fraction and stores one of those cells as a Coord, and returns the accumulated
portion of positions as an array of Hilbert Curve indices.
- fragments - Variable in class squidpony.panel.IColoredString.Impl
-
- FRENCH - Static variable in class squidpony.FakeLanguageGen
-
Imitation modern French, using (too many of) the accented vowels that are present in the language.
- fringe(short[], int, int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Finds the area around the cells encoded in packed, without including those cells.
- fringe(short[], int, int, int, boolean) - Static method in class squidpony.squidmath.CoordPacker
-
Finds the area around the cells encoded in packed, without including those cells.
- fringe(short[], int, int, int, boolean, boolean) - Static method in class squidpony.squidmath.CoordPacker
-
Finds the area around the cells encoded in packed, without including those cells.
- fringes(short[], int, int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Finds the concentric areas around the cells encoded in packed, without including those cells.
- fringes(short[], int, int, int, boolean) - Static method in class squidpony.squidmath.CoordPacker
-
Finds the concentric areas around the cells encoded in packed, without including those cells.
- fx - Variable in class squidpony.squidgrid.mapping.DungeonGenerator
-
The effects that will be applied when generate is called.