- g(int, int) - Method in class squidpony.squidmath.AStarSearch
-
Finds the g value (start to current) for the given location.
- GapShuffler<T> - Class in squidpony.squidmath
-
Meant to take a fixed-size set of items and produce a shuffled stream of them such that an element is never chosen in
quick succession; that is, there should always be a gap between the same item's occurrences.
- GapShuffler(Collection<T>) - Constructor for class squidpony.squidmath.GapShuffler
-
Constructor that takes any Collection of T, shuffles it with an unseeded RNG, and can then iterate infinitely
through mostly-random shuffles of the given collection.
- GapShuffler(Collection<T>, RNG) - Constructor for class squidpony.squidmath.GapShuffler
-
Constructor that takes any Collection of T, shuffles it with the given RNG, and can then iterate infinitely
through mostly-random shuffles of the given collection.
- gen - Variable in class squidpony.squidgrid.mapping.DungeonGenerator
-
- generate() - Method in class squidpony.squidgrid.mapping.ClassicRogueMapGenerator
-
Builds and returns a map in the Classic Rogue style, returned as a 2D char array.
- generate() - Method in class squidpony.squidgrid.mapping.DenseRoomMapGenerator
-
Generate a map as a 2D char array using the width and height specified in the constructor.
- generate() - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Generate a char[][] dungeon using TilesetType.DEFAULT_DUNGEON; this produces a dungeon appropriate for a level
of ruins or a partially constructed dungeon.
- generate(TilesetType) - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Generate a char[][] dungeon given a TilesetType; the comments in that class provide some opinions on what
each TilesetType value could be used for in a game.
- generate(char[][]) - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Generate a char[][] dungeon with extra features given a baseDungeon that has already been generated.
- generate() - Method in class squidpony.squidgrid.mapping.LanesMapGenerator
-
This generates a new map by stretching a 16x16 grid of potential rooms to fit the width and height passed to the
constructor, randomly expanding columns and rows before contracting the whole to fit perfectly.
- generate() - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Generate a char[][] dungeon using TilesetType.DEFAULT_DUNGEON; this produces a dungeon appropriate for a level
of ruins or a partially constructed dungeon.
- generate(TilesetType) - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Generate a char[][] dungeon given a TilesetType; the comments in that class provide some opinions on what
each TilesetType value could be used for in a game.
- generate(char[][]) - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Generate a char[][] dungeon with extra features given a baseDungeon that has already been generated.
- generate() - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Uses the added carvers (or just makes caves if none were added) to carve from point to point in sequence, if it
was provided by the constructor, or evenly-spaced randomized points if it was not.
- generate() - Method in class squidpony.squidgrid.mapping.ModularMapGenerator
-
- generate() - Method in class squidpony.squidgrid.mapping.OrganicMapGenerator
-
Generate a map as a 2D char array using the width and height specified in the constructor.
- generate() - Method in class squidpony.squidgrid.mapping.PacMazeGenerator
-
- generate() - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Generate a char[][] dungeon using TilesetType.DEFAULT_DUNGEON; this produces a dungeon appropriate for a level
of ruins or a partially constructed dungeon.
- generate(TilesetType) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Generate a char[][] dungeon given a TilesetType; the comments in that class provide some opinions on what
each TilesetType value could be used for in a game.
- generate(char[][], int[][]) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Generate a char[][] dungeon with extra features given a baseDungeon that has already been generated and an
environment as an int[][], which can often be obtained from MixedGenerator or classes that use it, like
SerpentMapGenerator, with their getEnvironment method.
- generate() - Method in class squidpony.squidgrid.mapping.SerpentDeepMapGenerator
-
This generates a new map by stretching a 32x32x(multiple of 8) grid of potential rooms to fit the width, height,
and depth passed to the constructor, randomly expanding columns and rows before contracting the whole to fit
perfectly.
- generate() - Method in class squidpony.squidgrid.mapping.SerpentMapGenerator
-
This generates a new map by stretching a 16x16 grid of potential rooms to fit the width and height passed to the
constructor, randomly expanding columns and rows before contracting the whole to fit perfectly.
- generate(TilesetType, int, int) - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Generate a dungeon given a TilesetType enum.
- generate(Tileset, int, int) - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Generate a dungeon given a Tileset.
- generate() - Method in class squidpony.WeightedLetterNamegen
-
- generate(int) - Method in class squidpony.WeightedLetterNamegen
-
- generateAStarCostMap(char[][], Map<Character, Double>, double) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Given a char[][] for the map, a Map of Character keys to Double values that will be used to determine costs, and
a double value for unhandled characters, produces a double[][] that can be used as a map by AStarSearch.
- generateBGPaletteIndices(char[][]) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Produces an int[][] that can be used with any palette of your choice for methods in SquidPanel or for your own
rendering method, but meant for the background palette.
- generateBGPaletteIndices(char[][], char, int, char, int) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Produces an int[][] that can be used with any palette of your choice for methods in SquidPanel or for your own
rendering method, but meant for the background palette.
- generateCostMap(char[][], Map<Character, Double>, double) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Given a char[][] for the map, a Map of Character keys to Double values that will be used to determine costs, and
a double value for unhandled characters, produces a double[][] that can be used as a costMap by DijkstraMap.
- generated - Variable in class squidpony.squidgrid.mapping.MixedGenerator
-
- generateLightLevels(int) - Static method in class squidpony.squidmath.CoordPacker
-
Given a number of total levels to consider separate in a double[][] such as an FOV result, this produces a levels
array that can be passed to unpackMultiDouble() to ensure that the minimum double returned for an "on" cell is
1.0 / totalLevels, and every progressively tighter level in the short[][] being unpacked will be close to a
multiple of that minimum double value.
- generateLightnessModifiers(char[][]) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Produces an int[][] that can be used with SquidLayers to alter the background colors.
- generateLightnessModifiers(char[][], double) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Produces an int[][] that can be used with SquidLayers to alter the background colors, accepting a parameter for
animation frame if rippling water and waving grass using Perlin Noise are desired.
- generateLightnessModifiers(char[][], double, char, char) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Produces an int[][] that can be used with SquidLayers to alter the background colors, accepting a parameter for
animation frame if rippling water and waving grass using Perlin Noise are desired.
- generatePackingLevels(int) - Static method in class squidpony.squidmath.CoordPacker
-
Given a number of total levels to consider separate in a double[][] such as an FOV result, this produces a levels
array that can be passed to packMulti() to ensure that you have the requested number of separate levels in the
multi-packed result.
- generatePaletteIndices(char[][]) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Produces an int[][] that can be used with any palette of your choice for methods in SquidPanel or for your own
rendering method.
- generatePaletteIndices(char[][], char, int, char, int) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Produces an int[][] that can be used with any palette of your choice for methods in SquidPanel or for your own
rendering method.
- generateResistances(char[][]) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Given a char[][] for the map, produces a double[][] that can be used with FOV.calculateFOV().
- generateRespectingStairs(char[][]) - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Generate a char[][] dungeon with extra features given a baseDungeon that has already been generated, and that
already has staircases represented by greater than and less than signs.
- generateRespectingStairs(char[][]) - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Generate a char[][] dungeon with extra features given a baseDungeon that has already been generated, and that
already has staircases represented by greater than and less than signs.
- generateRespectingStairs(char[][], int[][]) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Generate a char[][] dungeon with extra features given a baseDungeon that has already been generated, with
staircases represented by greater than and less than signs, and an environment as an int[][], which can often be
obtained from MixedGenerator or classes that use it, like SerpentMapGenerator, with their getEnvironment method.
- GENERATION - Static variable in class squidpony.SquidTags
-
Use this tag when logging things about generating dungeons, monster, etc.
- get(int, int, int, int) - Method in interface squidpony.IColorCenter
-
- get(int, int, int) - Method in interface squidpony.IColorCenter
-
- get(int, int, int, int) - Method in class squidpony.IColorCenter.Skeleton
-
- get(int, int, int) - Method in class squidpony.IColorCenter.Skeleton
-
- get(int, int) - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Gets the char at a given x,y position.
- get(Coord) - Method in class squidpony.squidgrid.SpatialMap
-
Gets the element at the given Coord position.
- get(I) - Method in class squidpony.squidgrid.SpatialMap
-
Gets the element with the given identity.
- get(int, int) - Static method in class squidpony.squidmath.Coord
-
- get(int, int, int) - Static method in class squidpony.squidmath.Coord3D
-
- get(double, double) - Static method in class squidpony.squidmath.CoordDouble
-
- get(int) - Method in class squidpony.squidmath.Region
-
Gets the Coord stored at the given index in this Region, or null if index is out of bounds.
- get(short[]) - Method in class squidpony.squidmath.RegionMap
-
- get(short[], V) - Method in class squidpony.squidmath.RegionMap
-
Returns the value for the specified key, or the default value if the key is not in the map.
- get(int) - Method in class squidpony.squidmath.ShortVLA
-
- getAlongStraightWalls() - Method in class squidpony.squidgrid.mapping.Placement
-
Gets a LinkedHashSet of LinkedHashSet of Coord, where each inner LinkedHashSet of Coord refers to a placement
region along a straight wall with length 3 or more, not including corners.
- getAlpha(T) - Method in interface squidpony.IColorCenter
-
- getAngle() - Method in class squidpony.squidai.ConeAOE
-
- getBacker() - Method in interface squidpony.panel.ISquidPanel
-
- getBareDungeon() - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Get the most recently generated char[][] dungeon out of this class without any chars other than '#' or '.', for
walls and floors respectively.
- getBareDungeon() - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Get the most recently generated char[][] dungeon out of this class without any chars other than '#' or '.', for
walls and floors respectively.
- getBareDungeon() - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Get the most recently generated char[][] dungeon out of this class without any chars other than '#' or '.', for
walls and floors respectively.
- getBareMap() - Method in class squidpony.squidgrid.mapping.ModularMapGenerator
-
Get the most recently generated char[][] map out of this class without any chars other than '#' or '.', for
walls and floors respectively.
- getBlack() - Method in interface squidpony.IColorCenter
-
- getBlack() - Method in class squidpony.IColorCenter.Skeleton
-
- getBlue(T) - Method in interface squidpony.IColorCenter
-
- getBottomLeft() - Method in interface squidpony.squidgrid.mapping.Rectangle
-
- getBottomLeft() - Method in class squidpony.squidgrid.mapping.Rectangle.Impl
-
- getCacheEntry(int, int) - Method in class squidpony.squidgrid.FOVCache
-
- getCacheEntry(int, int, int) - Method in class squidpony.squidgrid.FOVCache
-
- getCacheHeight() - Static method in class squidpony.squidmath.Coord
-
Gets the height of the pool used as a cache for Coords, not including negative Coords.
- getCacheLevel() - Method in class squidpony.LanguageCipher
-
- getCacheWidth() - Static method in class squidpony.squidmath.Coord
-
Gets the width of the pool used as a cache for Coords, not including negative Coords.
- getCardinalDirection(int, int) - Static method in enum squidpony.squidgrid.Direction
-
Returns the direction that most closely matches the input.
- getCenter() - Method in class squidpony.squidai.BlastAOE
-
- getCenter() - Method in class squidpony.squidai.BurstAOE
-
- getCenter() - Method in class squidpony.squidai.CloudAOE
-
- getCenter() - Method in class squidpony.squidai.PointAOE
-
- getCenters() - Method in class squidpony.squidgrid.mapping.Placement
-
Gets a LinkedHashSet of LinkedHashSet of Coord, where each inner LinkedHashSet of Coord refers to a room's cells
that are furthest from the walls, and each Coord is one of those central positions.
- getCentrality() - Method in class squidpony.squidmath.EditRNG
-
Gets the current centrality measure of this EditRNG.
- getCities() - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
-
- getColor() - Method in class squidpony.panel.IColoredString.Bucket
-
- getCoords() - Method in class squidpony.squidmath.Region
-
Gets the Coords contained in this as an array, a direct reference that does permit modifying the Coords in your
own code without altering "dirty/clean" status.
- getCorners() - Method in class squidpony.squidgrid.mapping.Placement
-
Gets a LinkedHashSet of LinkedHashSet of Coord, where each inner LinkedHashSet of Coord refers to a room's
corners, and each Coord is one of those corners.
- getDefaultForegroundColor() - Method in interface squidpony.panel.ISquidPanel
-
- getDirection(int, int) - Static method in enum squidpony.squidgrid.Direction
-
Returns the direction that most closely matches the input.
- getDungeon() - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Get the most recently generated char[][] dungeon out of this class.
- getDungeon() - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Get the most recently generated char[][] dungeon out of this class.
- getDungeon() - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Get the most recently generated char[][] dungeon out of this class.
- getDungeon() - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Get the char[][] dungeon that was last returned by generate(), or null if generate() or setDungeon have not been
called.
- getEnd() - Method in class squidpony.squidai.BeamAOE
-
- getEnd() - Method in class squidpony.squidai.LineAOE
-
- getEnvironment() - Method in class squidpony.squidgrid.mapping.DenseRoomMapGenerator
-
Gets a 2D array of int constants, each representing a type of environment corresponding to a static field of
MixedGenerator.
- getEnvironment() - Method in class squidpony.squidgrid.mapping.LanesMapGenerator
-
Gets a 2D array of int constants, each representing a type of environment corresponding to a static field of
MixedGenerator.
- getEnvironment() - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
- getEnvironment() - Method in class squidpony.squidgrid.mapping.ModularMapGenerator
-
Gets the environment int 2D array for use with classes like RoomFinder.
- getEnvironment() - Method in class squidpony.squidgrid.mapping.OrganicMapGenerator
-
Gets a 2D array of int constants, each representing a type of environment corresponding to a static field of
MixedGenerator.
- getEnvironment() - Method in class squidpony.squidgrid.mapping.PacMazeGenerator
-
- getEnvironment(int) - Method in class squidpony.squidgrid.mapping.SerpentDeepMapGenerator
-
Gets a 2D int array representing the environment for the requested level.
- getEnvironment() - Method in class squidpony.squidgrid.mapping.SerpentMapGenerator
-
Gets a 2D array of int constants, each representing a type of environment corresponding to a static field of
MixedGenerator.
- getEnvironments() - Method in class squidpony.squidgrid.mapping.SerpentDeepMapGenerator
-
Gets an array (length equals depth) of 2D int arrays representing the environments for levels.
- getExpected() - Method in class squidpony.squidmath.EditRNG
-
Gets the current expected average for this EditRNG.
- getFairness() - Method in class squidpony.squidmath.DharmaRNG
-
Gets the measure that this class uses for RNG fairness, defaulting to 0.54 (always between 0.0 and 1.0).
- getFixedRooms() - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
- getFortune() - Method in class squidpony.squidmath.DharmaRNG
-
Gets the status of the fortune used when calculating fairness adjustments.
- getGreen(T) - Method in interface squidpony.IColorCenter
-
- getHeight() - Method in class squidpony.squidgrid.FOVCache
-
- getHeight() - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Height of the dungeon in cells.
- getHeight() - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Height of the dungeon in cells.
- getHeight() - Method in class squidpony.squidgrid.mapping.ModularMapGenerator
-
Height of the map in cells.
- getHeight() - Method in interface squidpony.squidgrid.mapping.Rectangle
-
- getHeight() - Method in class squidpony.squidgrid.mapping.Rectangle.Impl
-
- getHeight() - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Height of the dungeon in cells.
- getHeight() - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Returns the height, used as the second coordinate in any char[][] in this class.
- getHidingPlaces(Radius, int) - Method in class squidpony.squidgrid.mapping.Placement
-
Gets a LinkedHashSet of Coord, where each Coord is hidden (using the given radiusStrategy and range for FOV
calculations) from any doorways or similar narrow choke-points where a character might be easily ambushed.
- getHSV(float, float, float, float) - Method in interface squidpony.IColorCenter
-
- getHSV(float, float, float) - Method in interface squidpony.IColorCenter
-
- getHSV(float, float, float, float) - Method in class squidpony.IColorCenter.Skeleton
-
- getHSV(float, float, float) - Method in class squidpony.IColorCenter.Skeleton
-
- getHue(T) - Method in interface squidpony.IColorCenter
-
- getHue(float, float, float) - Method in class squidpony.IColorCenter.Skeleton
-
- getHue(T) - Method in class squidpony.IColorCenter.Skeleton
-
- getIdentity(Coord) - Method in class squidpony.squidgrid.SpatialMap
-
Gets the identity of the element at the given Coord position.
- getInfluences() - Method in class squidpony.squidai.ZOI
-
Gets the influencing groups; ideally the result should not be changed without setting it back with setInfluences.
- getKnownPath(Coord, Coord) - Method in class squidpony.squidai.WaypointPathfinder
-
Finds the appropriate one of the already-calculated, possibly-long paths this class stores to get from a waypoint
to another waypoint, then quickly finds a path to get on the long path, and returns the total path.
- getLastPath() - Method in class squidpony.squidgrid.LOS
-
Returns the path of the last LOS calculation, with the starting point as
the head of the queue.
- getLastPath() - Method in class squidpony.squidmath.Elias
-
- getLeastSignificantBits() - Method in class squidpony.squidmath.SquidID
-
Gets the least-significant bits, also accessible by the field low.
- getLimitType() - Method in interface squidpony.squidai.AOE
-
Gets the AimLimit enum that can be used to restrict points this checks (defaults to null if not set).
- getLimitType() - Method in class squidpony.squidai.BeamAOE
-
- getLimitType() - Method in class squidpony.squidai.BlastAOE
-
- getLimitType() - Method in class squidpony.squidai.BurstAOE
-
- getLimitType() - Method in class squidpony.squidai.CloudAOE
-
- getLimitType() - Method in class squidpony.squidai.ConeAOE
-
- getLimitType() - Method in class squidpony.squidai.LineAOE
-
- getLimitType() - Method in class squidpony.squidai.PointAOE
-
- getLocation() - Method in class squidpony.squidmath.Coord
-
Provided for compatibility with earlier code that used the AWT Point API.
- getLocation() - Method in class squidpony.squidmath.CoordDouble
-
- getLOSEntry(int, int) - Method in class squidpony.squidgrid.FOVCache
-
- getManyIdentities(Iterable<I>) - Method in class squidpony.squidgrid.SpatialMap
-
Given an Iterable (such as a List, Set, or other Collection) of I, gets all elements in this SpatialMap that
share an identity with one of the I objects in identities and returns them as an ArrayList of elements.
- getManyIdentities(I[]) - Method in class squidpony.squidgrid.SpatialMap
-
Given an array of I, gets all elements in this SpatialMap that share an identity with one of the I objects in
identities and returns them as an ArrayList of elements.
- getManyPositions(Iterable<Coord>) - Method in class squidpony.squidgrid.SpatialMap
-
Given an Iterable (such as a List, Set, or other Collection) of Coord, gets all elements in this SpatialMap that
share a position with one of the Coord objects in positions and returns them as an ArrayList of elements.
- getManyPositions(Coord[]) - Method in class squidpony.squidgrid.SpatialMap
-
Given an array of Coord, gets all elements in this SpatialMap that share a position with one of the Coord objects
in positions and returns them as an ArrayList of elements.
- getMap() - Method in class squidpony.squidgrid.mapping.ModularMapGenerator
-
Get the most recently generated char[][] map out of this class.
- getMap() - Method in class squidpony.squidgrid.mapping.PacMazeGenerator
-
Gets the maze as a 2D array of true for passable or false for blocked.
- getMappedCount() - Method in class squidpony.squidai.DijkstraMap
-
- getMarkup(T) - Method in interface squidpony.panel.IMarkup
-
- getMarkup(String) - Method in class squidpony.panel.IMarkup.StringMarkup
-
- getMaxPeak() - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
-
- getMaxRadius() - Method in class squidpony.squidgrid.FOVCache
-
- getMaxRange() - Method in interface squidpony.squidai.AOE
-
The maximum inclusive range that the AOE can be shift()-ed to using the distance measurement from radiusType.
- getMaxRange() - Method in class squidpony.squidai.BeamAOE
-
- getMaxRange() - Method in class squidpony.squidai.BlastAOE
-
- getMaxRange() - Method in class squidpony.squidai.BurstAOE
-
- getMaxRange() - Method in class squidpony.squidai.CloudAOE
-
- getMaxRange() - Method in class squidpony.squidai.ConeAOE
-
- getMaxRange() - Method in class squidpony.squidai.LineAOE
-
- getMaxRange() - Method in class squidpony.squidai.PointAOE
-
- getMaze() - Method in class squidpony.squidgrid.mapping.PacMazeGenerator
-
Gets the maze as a 2D array of ',' for passable or '#' for blocked.
- getMetric() - Method in interface squidpony.squidai.AOE
-
Used to determine distance from origin for the purposes of selecting a target location that is within the bounds
of minRange and maxRange.
- getMetric() - Method in class squidpony.squidai.BeamAOE
-
- getMetric() - Method in class squidpony.squidai.BlastAOE
-
- getMetric() - Method in class squidpony.squidai.BurstAOE
-
- getMetric() - Method in class squidpony.squidai.CloudAOE
-
- getMetric() - Method in class squidpony.squidai.ConeAOE
-
- getMetric() - Method in class squidpony.squidai.LineAOE
-
- getMetric() - Method in class squidpony.squidai.PointAOE
-
- getMinRange() - Method in interface squidpony.squidai.AOE
-
The minimum inclusive range that the AOE can be shift()-ed to using the distance measurement from radiusType.
- getMinRange() - Method in class squidpony.squidai.BeamAOE
-
- getMinRange() - Method in class squidpony.squidai.BlastAOE
-
- getMinRange() - Method in class squidpony.squidai.BurstAOE
-
- getMinRange() - Method in class squidpony.squidai.CloudAOE
-
- getMinRange() - Method in class squidpony.squidai.ConeAOE
-
- getMinRange() - Method in class squidpony.squidai.LineAOE
-
- getMinRange() - Method in class squidpony.squidai.PointAOE
-
- getMostSignificantBits() - Method in class squidpony.squidmath.SquidID
-
Gets the most-significant bits, also accessible by the field high.
- getNext() - Method in class squidpony.squidmath.GapShuffler
-
Gets the next element of the infinite sequence of T this shuffles through.
- getNextIndex() - Method in class squidpony.squidmath.SobolQRNG
-
Returns the index i of the next point in the Sobol sequence that will be returned
by calling
SobolQRNG.nextVector()
.
- getOrigin() - Method in interface squidpony.squidai.AOE
-
Get the position from which the AOE originates, which may be related to the location of the AOE's effect, as for
lines, cones, and other emitted effects, or may be unrelated except for determining which enemies can be seen
or targeted from a given origin point (as for distant effects that radiate from a chosen central point, but
have a maxRange at which they can deliver that effect).
- getOrigin() - Method in class squidpony.squidai.BeamAOE
-
- getOrigin() - Method in class squidpony.squidai.BlastAOE
-
- getOrigin() - Method in class squidpony.squidai.BurstAOE
-
- getOrigin() - Method in class squidpony.squidai.CloudAOE
-
- getOrigin() - Method in class squidpony.squidai.ConeAOE
-
- getOrigin() - Method in class squidpony.squidai.LineAOE
-
- getOrigin() - Method in class squidpony.squidai.PointAOE
-
- getPosition(I) - Method in class squidpony.squidgrid.SpatialMap
-
Gets the position of the element with the given identity.
- getRadius() - Method in class squidpony.squidai.BeamAOE
-
- getRadius() - Method in class squidpony.squidai.BlastAOE
-
- getRadius() - Method in class squidpony.squidai.BurstAOE
-
- getRadius() - Method in class squidpony.squidai.ConeAOE
-
- getRadius() - Method in class squidpony.squidai.LineAOE
-
- getRadiusKind() - Method in class squidpony.squidgrid.FOVCache
-
- getRadiusStrategy() - Method in class squidpony.squidgrid.LOS
-
Gets the radius strategy this uses.
- getRadiusType() - Method in class squidpony.squidai.BeamAOE
-
- getRadiusType() - Method in class squidpony.squidai.BlastAOE
-
- getRadiusType() - Method in class squidpony.squidai.BurstAOE
-
- getRadiusType() - Method in class squidpony.squidai.CloudAOE
-
- getRadiusType() - Method in class squidpony.squidai.ConeAOE
-
- getRadiusType() - Method in class squidpony.squidai.LineAOE
-
- getRandom(RNG, int) - Method in interface squidpony.IColorCenter
-
- getRandom(RNG, int) - Method in class squidpony.IColorCenter.Skeleton
-
- getRandomCell(RNG, char[][], Set<Character>, int) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
- getRandomCoord(RNG) - Method in class squidpony.squidmath.Region
-
Gets a single random Coord from this using the given RNG (which can be seeded); returns null if this is empty.
- getRandomElement(T[]) - Method in class squidpony.squidmath.DeckRNG
-
Returns a random element from the provided array and maintains object
type.
- getRandomElement(List<T>) - Method in class squidpony.squidmath.DeckRNG
-
Returns a random element from the provided list.
- getRandomElement(ShortSet) - Method in class squidpony.squidmath.DeckRNG
-
Returns a random element from the provided ShortSet.
- getRandomElement(Collection<T>) - Method in class squidpony.squidmath.DeckRNG
-
Returns a random element from the provided Collection, which should have predictable iteration order if you want
predictable behavior for identical RNG seeds, though it will get a random element just fine for any Collection
(just not predictably in all cases).
- getRandomElement(T[]) - Method in class squidpony.squidmath.DharmaRNG
-
Returns a random element from the provided array and maintains object
type.
- getRandomElement(List<T>) - Method in class squidpony.squidmath.DharmaRNG
-
Returns a random element from the provided list.
- getRandomElement(ShortSet) - Method in class squidpony.squidmath.DharmaRNG
-
Returns a random element from the provided ShortSet.
- getRandomElement(Collection<T>) - Method in class squidpony.squidmath.DharmaRNG
-
Returns a random element from the provided Collection, which should have predictable iteration order if you want
predictable behavior for identical RNG seeds, though it will get a random element just fine for any Collection
(just not predictably in all cases).
- getRandomElement(T[]) - Method in class squidpony.squidmath.EditRNG
-
Returns a random element from the provided array and maintains object
type.
- getRandomElement(List<T>) - Method in class squidpony.squidmath.EditRNG
-
Returns a random element from the provided list.
- getRandomElement(ShortSet) - Method in class squidpony.squidmath.EditRNG
-
Returns a random element from the provided ShortSet.
- getRandomElement(Collection<T>) - Method in class squidpony.squidmath.EditRNG
-
Returns a random element from the provided Collection, which should have predictable iteration order if you want
predictable behavior for identical RNG seeds, though it will get a random element just fine for any Collection
(just not predictably in all cases).
- getRandomElement(T[]) - Method in class squidpony.squidmath.RNG
-
Returns a random element from the provided array and maintains object
type.
- getRandomElement(List<T>) - Method in class squidpony.squidmath.RNG
-
Returns a random element from the provided list.
- getRandomElement(ShortSet) - Method in class squidpony.squidmath.RNG
-
Returns a random element from the provided ShortSet.
- getRandomElement(Collection<T>) - Method in class squidpony.squidmath.RNG
-
Returns a random element from the provided Collection, which should have predictable iteration order if you want
predictable behavior for identical RNG seeds, though it will get a random element just fine for any Collection
(just not predictably in all cases).
- getRandomness() - Method in class squidpony.squidmath.DeckRNG
-
- getRandomness() - Method in class squidpony.squidmath.DharmaRNG
-
- getRandomness() - Method in class squidpony.squidmath.EditRNG
-
- getRandomness() - Method in class squidpony.squidmath.RNG
-
- getRandomStartIterable(List<T>) - Method in class squidpony.squidmath.DeckRNG
-
- getRandomStartIterable(List<T>) - Method in class squidpony.squidmath.DharmaRNG
-
- getRandomStartIterable(List<T>) - Method in class squidpony.squidmath.EditRNG
-
- getRandomStartIterable(List<T>) - Method in class squidpony.squidmath.RNG
-
Get an Iterable that starts at a random location in list and continues on through list in its current order.
- getRaw() - Method in class squidpony.squidmath.Region
-
Gets a direct reference to this Region's "raw packed data"; don't modify it unless you know what you're doing!
It's fine to pass this to methods in CoordPacker, since essentially all of those methods won't modify packed data
given as arguments.
- getRawLatest() - Method in class squidpony.squidmath.EditRNG
-
Gets the latest "un-biased" random double used to produce the most recent (potentially) biased random number
generated for another method in this class, such as nextDouble(), between(), or getRandomElement().
- getReach() - Method in interface squidpony.squidai.AOE
-
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
- getReach() - Method in class squidpony.squidai.BeamAOE
-
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
- getReach() - Method in class squidpony.squidai.BlastAOE
-
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
- getReach() - Method in class squidpony.squidai.BurstAOE
-
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
- getReach() - Method in class squidpony.squidai.CloudAOE
-
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
- getReach() - Method in class squidpony.squidai.ConeAOE
-
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
- getReach() - Method in class squidpony.squidai.LineAOE
-
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
- getReach() - Method in class squidpony.squidai.PointAOE
-
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
- getRebuildSeed() - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Gets the seed that can be used to rebuild an identical dungeon to the latest one generated (or the seed that
will be used to generate the first dungeon if none has been made yet).
- getRebuildSeed() - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Gets the seed that can be used to rebuild an identical dungeon to the latest one generated (or the seed that
will be used to generate the first dungeon if none has been made yet).
- getRebuildSeed() - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Gets the seed that can be used to rebuild an identical dungeon to the latest one generated (or the seed that
will be used to generate the first dungeon if none has been made yet).
- getRed(T) - Method in interface squidpony.IColorCenter
-
- getRemainingCombinations() - Method in class squidpony.squidmath.CombinationGenerator
-
- getRemainingPermutations() - Method in class squidpony.squidmath.PermutationGenerator
-
Returns the number of permutations not yet generated.
- getRng() - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Gets the current RNG.
- getSaturation(T) - Method in interface squidpony.IColorCenter
-
- getSaturation(float, float, float) - Method in class squidpony.IColorCenter.Skeleton
-
- getSaturation(T) - Method in class squidpony.IColorCenter.Skeleton
-
- getSeed() - Method in class squidpony.squidmath.MersenneTwister
-
- getShadow(int, int, double[][]) - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
-
- getSpan() - Method in class squidpony.squidai.ConeAOE
-
- getState() - Method in class squidpony.squidmath.DeckRNG
-
Get a long that can be used to reproduce the sequence of random numbers this object will generate starting now.
- getState() - Method in class squidpony.squidmath.LightRNG
-
Gets the current state of this generator.
- getState() - Method in class squidpony.squidmath.PermutedRNG
-
Gets the current state of this generator.
- getState() - Method in interface squidpony.squidmath.StatefulRandomness
-
Get the current internal state of the StatefulRandomness as a long.
- getState() - Method in class squidpony.squidmath.StatefulRNG
-
Get a long that can be used to reproduce the sequence of random numbers this object will generate starting now.
- getStep() - Method in class squidpony.squidmath.DeckRNG
-
- getText() - Method in class squidpony.panel.IColoredString.Bucket
-
- getTiles(TilesetType) - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Gets an array of all herringbone tiles associated with a TilesetType enum.
- getTileset() - Method in enum squidpony.squidgrid.mapping.styled.TilesetType
-
- getTotalCombinations() - Method in class squidpony.squidmath.CombinationGenerator
-
- getTotalPermutations() - Method in class squidpony.squidmath.PermutationGenerator
-
Returns the total number of unique permutations that can be
generated for the given set of elements.
- getTotalPermutations(int) - Static method in class squidpony.squidmath.PermutationGenerator
-
Returns the total number of unique permutations that can be
generated for the given count of permute-able elements.
- getTransparent() - Method in interface squidpony.IColorCenter
-
- getTransparent() - Method in class squidpony.IColorCenter.Skeleton
-
- getValue(T) - Method in interface squidpony.IColorCenter
-
- getValue(float, float, float) - Method in class squidpony.IColorCenter.Skeleton
-
- getValue(T) - Method in class squidpony.IColorCenter.Skeleton
-
- getVolume() - Method in class squidpony.squidai.CloudAOE
-
- getWaypoints() - Method in class squidpony.squidai.WaypointPathfinder
-
- getWhite() - Method in interface squidpony.IColorCenter
-
- getWhite() - Method in class squidpony.IColorCenter.Skeleton
-
- getWidth() - Method in class squidpony.squidgrid.FOVCache
-
- getWidth() - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
Width of the dungeon in cells.
- getWidth() - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
Width of the dungeon in cells.
- getWidth() - Method in class squidpony.squidgrid.mapping.ModularMapGenerator
-
Width of the map in cells.
- getWidth() - Method in interface squidpony.squidgrid.mapping.Rectangle
-
- getWidth() - Method in class squidpony.squidgrid.mapping.Rectangle.Impl
-
- getWidth() - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Width of the dungeon in cells.
- getWidth() - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Returns the width, used as the first coordinate in any char[][] in this class.
- getX() - Method in class squidpony.squidmath.Coord
-
- getX() - Method in class squidpony.squidmath.CoordDouble
-
- getXMoore3D(int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Gets the x coordinate for a given index into the 16x16x(8*n) Moore curve.
- getY() - Method in class squidpony.squidmath.Coord
-
- getY() - Method in class squidpony.squidmath.CoordDouble
-
- getYMoore3D(int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Gets the y coordinate for a given index into the 16x16x(8*n) Moore curve.
- getZMoore3D(int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Gets the z coordinate for a given index into the 16x16x(8*n) Moore curve.
- GOAL - Static variable in class squidpony.squidai.DijkstraMap
-
Goals are always marked with 0.
- goals - Variable in class squidpony.squidai.DijkstraMap
-
Goals that pathfinding will seek out.
- goBackToPath(Coord, ArrayList<Coord>) - Method in class squidpony.squidai.WaypointPathfinder
-
If a creature is interrupted or obstructed on a "highway" path, it may need to travel off the path to its goal.
- gradedFOV - Variable in class squidpony.squidgrid.FOVCache
-
- gradientMap - Variable in class squidpony.squidai.DijkstraMap
-
The frequently-changing values that are often the point of using this class; goals will have a value of 0, and
any cells that can have a character reach a goal in n steps will have a value of n.
- gradientMap - Variable in class squidpony.squidgrid.SoundMap
-
The frequently-changing values that are often the point of using this class; cells producing sound will have a
value greater than 0, cells that cannot possibly be reached by a sound will have a value of exactly 0, and walls
will have a value equal to the WALL constant (a negative number).
- grayDecode(int) - Static method in class squidpony.squidmath.CoordPacker
-
Decode a number from a Gray code n; Gray codes have a relation to the Hilbert curve and may be useful.
- grayEncode(int) - Static method in class squidpony.squidmath.CoordPacker
-
Encode a number n as a Gray code; Gray codes have a relation to the Hilbert curve and may be useful.
- greatestCommonDivisor(long, long) - Static method in class squidpony.squidmath.MathExtras
-
Determines the greatest common divisor of a pair of natural numbers
using the Euclidean algorithm.
- GREEK_AUTHENTIC - Static variable in class squidpony.FakeLanguageGen
-
Imitation ancient Greek, using the original Greek alphabet.
- GREEK_ROMANIZED - Static variable in class squidpony.FakeLanguageGen
-
Imitation ancient Greek, romanized to use the Latin alphabet.
- greify(T, boolean) - Method in interface squidpony.IColorCenter
-
Gets a copy of t and modifies it to make a shade of gray with the same brightness.
- greify(T, boolean) - Method in class squidpony.IColorCenter.Skeleton
-
Gets a copy of t and modifies it to make a shade of gray with the same brightness.
- gridHeight() - Method in interface squidpony.panel.ISquidPanel
-
- gridIsEmpty() - Method in class squidpony.squidgrid.iterator.SquidIterators.BottomLeftToTopRight
-
- gridWidth() - Method in interface squidpony.panel.ISquidPanel
-
- GrowingTreeMazeGenerator - Class in squidpony.squidgrid.mapping
-
Based in part on code from http://weblog.jamisbuck.org/2011/1/27/maze-generation-growing-tree-algorithm
- GrowingTreeMazeGenerator(int, int) - Constructor for class squidpony.squidgrid.mapping.GrowingTreeMazeGenerator
-
- GrowingTreeMazeGenerator(int, int, RNG) - Constructor for class squidpony.squidgrid.mapping.GrowingTreeMazeGenerator
-
- GrowingTreeMazeGenerator.ChoosingMethod - Interface in squidpony.squidgrid.mapping
-
- GwtCompatibility - Class in squidpony
-
Static methods useful to be GWT-compatible, and also methods useful for filling gaps in Java's support for arrays.
- GwtCompatibility() - Constructor for class squidpony.GwtCompatibility
-
- GwtIncompatible - Annotation Type in squidpony.annotation
-
An annotation for the GWT compiler.