- radiate(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.
- radiate(short[], short[], int, Radius) - 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, with a shape determined by metric, equal to
expansion, limiting any expansion to within bounds and returning the final expanded (limited) packed data.
- radiate(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, with a square shape if eightWay is true or a diamond
otherwise, equal to expansion, limiting any expansion to within bounds and returning the final expanded (limited)
packed data.
- Radius - Enum in squidpony.squidgrid
-
Basic radius strategy implementations likely to be used for roguelikes.
- radius(int, int, int, int, int, int) - Method in enum squidpony.squidgrid.Radius
-
- radius(double, double, double, double, double, double) - Method in enum squidpony.squidgrid.Radius
-
- radius(int, int, int) - Method in enum squidpony.squidgrid.Radius
-
- radius(double, double, double) - Method in enum squidpony.squidgrid.Radius
-
- radius(int, int, int, int) - Method in enum squidpony.squidgrid.Radius
-
- radius(Coord, Coord) - Method in enum squidpony.squidgrid.Radius
-
- radius(Coord) - Method in enum squidpony.squidgrid.Radius
-
- radius(double, double, double, double) - Method in enum squidpony.squidgrid.Radius
-
- radius(int, int) - Method in enum squidpony.squidgrid.Radius
-
- radius(double, double) - Method in enum squidpony.squidgrid.Radius
-
- radiusKind - Variable in class squidpony.squidgrid.FOVCache
-
- radiusPositionIterator(int, int, Radius, int) - Method in class squidpony.squidgrid.SpatialMap
-
Iterates through positions in a region defined by a Radius (starting at a minimum of x - distance, y - distance
and extending to x + distance, y + distance but skipping any positions where the Radius considers a position
further from x, y than distance) in left-to-right, then top-to-bottom order (the same as reading a page of text).
- radiusSection(int, int, Radius, int) - Method in class squidpony.squidgrid.SpatialMap
-
Given the center position, Radius to determine measurement, and maximum distance from the center, creates a new
SpatialMap from this one that refers only to the subsection of this SpatialMap shared with the area within the
given distance from the center as measured by measurement.
- raiseToPower(int, int) - Static method in class squidpony.squidmath.MathExtras
-
Calculate the first argument raised to the power of the second.
- ran - Variable in class squidpony.squidmath.RNG
-
- random - Variable in class squidpony.squidgrid.mapping.LanesMapGenerator
-
- random() - Method in class squidpony.squidmath.ProbabilityTable
-
Returns an object randomly based on assigned weights.
- random - Variable in class squidpony.squidmath.RNG
-
- RandomBias - Class in squidpony.squidmath
-
A class that wraps an RNG and allows different String keys to be associated with biases toward low or high results
when a method is called that gets a number from the wrapped RNG.
- RandomBias() - Constructor for class squidpony.squidmath.RandomBias
-
- RandomBias(RNG) - Constructor for class squidpony.squidmath.RandomBias
-
- RandomBias(RNG, Map<String, Double>) - Constructor for class squidpony.squidmath.RandomBias
-
- RandomBias(RNG, Map<String, Double>, int) - Constructor for class squidpony.squidmath.RandomBias
-
- randomCell(short[]) - Method in class squidpony.squidgrid.mapping.DungeonUtility
-
Finds a random Coord where the x and y match up to a [x][y] location that is encoded as "on" in packed.
- randomFloor(char[][]) - Method in class squidpony.squidgrid.mapping.DungeonUtility
-
Finds a random Coord where the x and y match up to a [x][y] location on map that has '.' as a value.
- randomFloorLarge(char[][], int) - Method in class squidpony.squidgrid.mapping.DungeonUtility
-
Finds a random Coord where the x and y match up to a [x][y] location on map that has '.' as a value,
and a square of cells extending in the positive x and y directions with a side length of size must also have
'.' as their values.
- randomize(RNG, String, int) - Method in class squidpony.MonsterGen
-
Randomly add appearance and power descriptors to a new Chimera creature with random body part adjectives.
- randomize(String, int) - Method in class squidpony.MonsterGen
-
Randomly add appearance and power descriptors to a new Chimera creature with random body part adjectives.
- randomize() - Method in class squidpony.MonsterGen
-
Randomly add appearance and power descriptors to a new Chimera creature with random body part adjectives.
- randomize() - Method in class squidpony.squidmath.ChaosRNG
-
Changes the internal state to a new, fully-random version that should have no relation to the previous state.
- randomize() - Static method in class squidpony.squidmath.SquidID
-
Makes the IDs generated after calling this non-repeatable, with a random 1024-bit seed.
- randomizeAppearance(RNG, MonsterGen.Chimera, String, int) - Method in class squidpony.MonsterGen
-
Randomly add appearance descriptors to a copy of the Chimera creature.
- randomizeAppearance(MonsterGen.Chimera, String, int) - Method in class squidpony.MonsterGen
-
Randomly add appearance descriptors to a copy of the Chimera creature.
- randomizePowers(RNG, MonsterGen.Chimera, String, int) - Method in class squidpony.MonsterGen
-
Randomly add power descriptors to a copy of the Chimera creature.
- randomizePowers(MonsterGen.Chimera, String, int) - Method in class squidpony.MonsterGen
-
Randomly add power descriptors to a copy of the Chimera creature.
- randomMatchingTile(char[][], char) - Method in class squidpony.squidgrid.mapping.DungeonUtility
-
Finds a random Coord where the x and y match up to a [x][y] location on map that has the same value as the
parameter tile.
- randomName(RNG) - Method in class squidpony.MonsterGen
-
Gets a random name as a String using FakeLanguageGen.
- randomName() - Method in class squidpony.MonsterGen
-
Gets a random name as a String using FakeLanguageGen.
- RandomnessSource - Interface in squidpony.squidmath
-
This interface defines the interactions required of a random number
generator.
- randomPortion(short[], int, RNG) - Static method in class squidpony.squidmath.CoordPacker
-
Gets a fixed number of randomly chosen positions that are "on" in the given packed array, without unpacking it,
and returns a List of Coord with a count equal to size (or less if there aren't enough "on" cells).
- randomPortion(T[], T[]) - Method in class squidpony.squidmath.DeckRNG
-
Gets a random portion of data (an array), assigns that portion to output (an array) so that it fills as much as
it can, and then returns output.
- randomPortion(List<T>, int) - Method in class squidpony.squidmath.DeckRNG
-
Gets a random portion of a List and returns it as a new List.
- randomPortion(T[], T[]) - Method in class squidpony.squidmath.DharmaRNG
-
Gets a random portion of data (an array), assigns that portion to output (an array) so that it fills as much as
it can, and then returns output.
- randomPortion(List<T>, int) - Method in class squidpony.squidmath.DharmaRNG
-
Gets a random portion of a List and returns it as a new List.
- randomPortion(T[], T[]) - Method in class squidpony.squidmath.EditRNG
-
Gets a random portion of data (an array), assigns that portion to output (an array) so that it fills as much as
it can, and then returns output.
- randomPortion(List<T>, int) - Method in class squidpony.squidmath.EditRNG
-
Gets a random portion of a List and returns it as a new List.
- randomPortion(T[], T[]) - Method in class squidpony.squidmath.RNG
-
Gets a random portion of data (an array), assigns that portion to output (an array) so that it fills as much as
it can, and then returns output.
- randomPortion(List<T>, int) - Method in class squidpony.squidmath.RNG
-
Gets a random portion of a List and returns it as a new List.
- randomRange(int, int, int) - Method in class squidpony.squidmath.DeckRNG
-
Gets a random subrange of the non-negative ints from start (inclusive) to end (exclusive), using count elements.
- randomRange(int, int, int) - Method in class squidpony.squidmath.DharmaRNG
-
Gets a random subrange of the non-negative ints from start (inclusive) to end (exclusive), using count elements.
- randomRange(int, int, int) - Method in class squidpony.squidmath.EditRNG
-
Gets a random subrange of the non-negative ints from start (inclusive) to end (exclusive), using count elements.
- randomRange(int, int, int) - Method in class squidpony.squidmath.RNG
-
Gets a random subrange of the non-negative ints from start (inclusive) to end (exclusive), using count elements.
- randomRotation(List<T>) - Method in class squidpony.squidmath.DeckRNG
-
- randomRotation(List<T>) - Method in class squidpony.squidmath.DharmaRNG
-
- randomRotation(List<T>) - Method in class squidpony.squidmath.EditRNG
-
- randomRotation(List<T>) - Method in class squidpony.squidmath.RNG
-
Given a
List
l, this selects a random element of l to be the first value in the returned list l2.
- randomSample(short[], double, RNG) - Static method in class squidpony.squidmath.CoordPacker
-
Gets a random subset of positions that are "on" in the given packed array, without unpacking it, and returns
them as a Coord[].
- randomSeparated(short[], int, RNG) - 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 a random one of those cells as a Coord, and returns the
accumulated random portion of positions as a Coord[].
- randomSeparated(int, RNG) - Method in class squidpony.squidmath.Region
-
Takes this region and walks through its Coords in chunks with length equal to separation, creating a new Region
where one randomly-chosen Coord in each chunk is kept and the others are discarded.
- randomStep(char[][], Coord, boolean) - Method in class squidpony.squidgrid.mapping.DungeonUtility
-
Gets a random Coord that is adjacent to start, validating whether the position can exist on the given map.
- randomUnblockedTile(Coord, Coord, char[][], RNG, HashSet<Character>) - Static method in class squidpony.squidmath.PoissonDisk
-
Finds a random Coord where the x and y match up to a [x][y] location on map that has any value not in blocking.
- randomUUID() - Static method in class squidpony.squidmath.SquidID
-
Gets a new random SquidID, the same as calling the no-argument constructor.
- raw - Variable in class squidpony.squidmath.Region
-
- rawLatest - Variable in class squidpony.squidmath.EditRNG
-
The latest generated double, between 0.0 and 1.0, before changes for centrality and expected average.
- RAY - Static variable in class squidpony.squidgrid.LOS
-
Uses a series of rays internal to the start and end point to
determine visibility.
- Reach - Class in squidpony.squidai
-
A struct-like class that holds information about targeting rules for actions or other effects that reach from one
square into another one, with certain potential restrictions.
- Reach() - Constructor for class squidpony.squidai.Reach
-
Constructs a Reach with all fields given default values; maxDistance is set to 1, minDistance is set to 0, limit
is set to AimLimit.FREE, and metric is set to Radius.SQUARE (8-way movement).
- Reach(int) - Constructor for class squidpony.squidai.Reach
-
Constructs a Reach with the specified maxDistance, to a minimum of 0.
- Reach(int, int) - Constructor for class squidpony.squidai.Reach
-
Constructs a Reach with the specified minDistance, to a minimum of 0, and maxDistance, to a minimum equal to
minDistance (after factoring in any change to meet the minimum of 0).
- Reach(int, int, Radius) - Constructor for class squidpony.squidai.Reach
-
Constructs a Reach with the specified minDistance, to a minimum of 0, maxDistance, to a minimum equal to
minDistance (after factoring in any change to meet the minimum of 0), and distance calculation metric as a Radius
enum.
- Reach(int, int, Radius, AimLimit) - Constructor for class squidpony.squidai.Reach
-
Constructs a Reach with the specified minDistance, to a minimum of 0, maxDistance, to a minimum equal to
minDistance (after factoring in any change to meet the minimum of 0), and distance calculation metric as a Radius
enum.
- reach - Variable in class squidpony.squidai.Threat
-
- reachable(short[], short[], Reach) - 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 a
Reach object that determines targeting constraints, gets all cells contained within bounds that can be targeted
from a cell in start using the rules defined by reach.
- rebuildSeed - Variable in class squidpony.squidgrid.mapping.DungeonGenerator
-
- rebuildSeed - Variable in class squidpony.squidgrid.mapping.ModularMapGenerator
-
- rebuildSeed - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
- Rectangle - Interface in squidpony.squidgrid.mapping
-
Rectangles in 2D grids.
- rectangle(int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Given a width and height, returns a packed array that encodes "on" for the rectangle from (0,0) to
(width - 1, height - 1).
- rectangle(int, int, int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Given x, y, width and height, returns a packed array that encodes "on" for the rectangle from (x,y) to
(width + x - 1, height + y - 1).
- Rectangle.Impl - Class in squidpony.squidgrid.mapping
-
- Rectangle.Utils - Class in squidpony.squidgrid.mapping
-
Utilities pertaining to Room
- RectangleFromBottomLeftToTopRight(Coord, int, int) - Constructor for class squidpony.squidgrid.iterator.SquidIterators.RectangleFromBottomLeftToTopRight
-
- rectangleHilbert(int, int, int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Given x, y, width and height, returns an array of all Hilbert distance within the rectangle from (x,y) to
(width + x - 1, height + y - 1).
- rectanglePositionIterator(int, int, int, int) - Method in class squidpony.squidgrid.SpatialMap
-
Iterates through positions in a rectangular region (starting at a minimum of x, y and extending to the specified
width and height) in left-to-right, then top-to-bottom order (the same as reading a page of text).
- RectangleRoomFinder - Class in squidpony.squidgrid.mapping
-
An algorithm to find rectangle areas in dungeons.
- RectangleRoomFinder(char[][]) - Constructor for class squidpony.squidgrid.mapping.RectangleRoomFinder
-
- rectangleSection(int, int, int, int) - Method in class squidpony.squidgrid.SpatialMap
-
Given the size and position of a rectangular area, creates a new SpatialMap from this one that refers only to the
subsection of this SpatialMap shared with the rectangular area.
- Ref2CornerCaves - Class in squidpony.tileset
-
- Ref2CornerCaves() - Constructor for class squidpony.tileset.Ref2CornerCaves
-
- refreshCache(char[][]) - Method in class squidpony.squidgrid.FOVCache
-
Runs FOV calculations for any cells that were changed as a result of newMap being different from the map passed
to the FOVCache constructor.
- refreshComplete - Variable in class squidpony.squidgrid.FOVCache
-
- RefreshUnit(char[][]) - Constructor for class squidpony.squidgrid.FOVCache.RefreshUnit
-
- Region - Class in squidpony.squidmath
-
Represents an area or series of areas as one logical unit, and allows iterating over or altering that unit.
- Region(double[][]) - Constructor for class squidpony.squidmath.Region
-
A constructor for a Region that takes a 2D double array, usually the kind produced by FOV, and stores only Coord
positions that correspond to values greater than 0.0 (actually, greater than epsilon, which here is 0.0001).
- Region(double[][], double) - Constructor for class squidpony.squidmath.Region
-
A constructor for a Region that takes a 2D double array, usually produced by DijkstraMap, and a maximum value,
and stores only Coord positions that correspond to values no greater than maximum.
- Region(char[][], char...) - Constructor for class squidpony.squidmath.Region
-
A constructor for a Region that takes a 2D char array, the kind produced by most map/dungeon generators in this
library, and a vararg or array of char that will have their Coord positions used where those chars appear in map.
- Region(Coord...) - Constructor for class squidpony.squidmath.Region
-
A constructor for a Region that takes an array or vararg of Coord and encodes all of them in the Region.
- Region(Collection<Coord>) - Constructor for class squidpony.squidmath.Region
-
A constructor for a Region that takes a Collection of Coord, such as a List or Set, and encodes all of them in
the Region.
- Region(Region) - Constructor for class squidpony.squidmath.Region
-
A constructor that copies another Region so this Region will have the same contents.
- Region(Coord, int, int, int) - Constructor for class squidpony.squidmath.Region
-
A constructor for a circular Region (possibly truncated at the edges) with a Coord center, an int radius, and a
maximum width and height that the Coords in this Region will not exceed.
- Region(int, int, int, int) - Constructor for class squidpony.squidmath.Region
-
A constructor for a rectangular Region that stores Coords for the area from (minX,minY) at the minimum corner to
(width + minX - 1, height + minY - 1) at the maximum corner.
- Region(short[]) - Constructor for class squidpony.squidmath.Region
-
A constructor for a Region that takes a specifically-formatted short array (packed data), as produced by
CoordPacker or sometimes other classes, like RegionMap or RoomFinder.
- regionAt(int, int) - Method in class squidpony.squidgrid.mapping.RoomFinder
-
Takes an x, y position and finds the room, corridor, or cave at that position, if there is one, returning the
same 2D char array format as the other methods.
- RegionMap<V> - Class in squidpony.squidmath
-
An unordered map of regions (specifically, packed data from CoordPacker or something that uses it, like FOVCache or
ZOI, as short arrays) to values of a generic type.
- RegionMap() - Constructor for class squidpony.squidmath.RegionMap
-
Creates a new map with an initial capacity of 51 and a load factor of 0.8.
- RegionMap(int) - Constructor for class squidpony.squidmath.RegionMap
-
Creates a new map with a load factor of 0.8.
- RegionMap(int, float) - Constructor for class squidpony.squidmath.RegionMap
-
Creates a new map with the specified initial capacity and load factor.
- RegionMap(RegionMap<? extends V>) - Constructor for class squidpony.squidmath.RegionMap
-
Creates a new map identical to the specified map.
- RegionMap.Entries<V> - Class in squidpony.squidmath
-
- RegionMap.Entry<V> - Class in squidpony.squidmath
-
- RegionMap.Keys - Class in squidpony.squidmath
-
- RegionMap.Values<V> - Class in squidpony.squidmath
-
- regionsConnected(int, int) - Method in class squidpony.squidgrid.mapping.RoomFinder
-
Takes an x, y position and finds the rooms or corridors that are directly connected to the room, corridor or cave
at that position, and returns the group as an ArrayList of 2D char arrays, one per connecting region.
- regionsContain(short[], short[]...) - Static method in class squidpony.squidmath.CoordPacker
-
Quickly determines if a region is contained in one of the given packed arrays, without unpacking them, and
returns true if the region checking has some overlap with any of the packed arrays, or false otherwise.
- regionsContaining(int, int) - Method in class squidpony.squidmath.RegionMap
-
Gets a List of all regions containing a given x,y point.
- regionsNear(int, int) - Method in class squidpony.squidgrid.mapping.RoomFinder
-
Takes an x, y position and finds the room or corridor at that position and the rooms, corridors or caves that it
directly connects to, and returns the group as one merged 2D char array.
- relax(List<Coord>) - Method in class squidpony.squidai.DijkstraMap
-
Used in conjunction with methods that depend on finding cover, like findCoveredAttackPath(), this method causes
specified safer points to be considered more safe, and will make a pathfinder more likely to enter those places
if they were considered dangerous earlier (due to calling deteriorate()).
- relax(Coord...) - Method in class squidpony.squidai.DijkstraMap
-
Used in conjunction with methods that depend on finding cover, like findCoveredAttackPath(), this method causes
specified safer points to be considered more safe, and will make a pathfinder more likely to enter those places
if they were considered dangerous earlier (due to calling deteriorate()).
- remove() - Method in class squidpony.squidgrid.iterator.SquidIterators.AroundCounterClockWise
-
- remove() - Method in class squidpony.squidgrid.iterator.SquidIterators.BottomLeftToTopRight
-
- remove() - Method in class squidpony.squidgrid.iterator.SquidIterators.CenteredSquare
-
- remove() - Method in class squidpony.squidgrid.iterator.SquidIterators.RectangleFromBottomLeftToTopRight
-
- remove() - Method in class squidpony.squidgrid.iterator.SquidIterators.VerticalUp
-
- remove(Coord) - Method in class squidpony.squidgrid.SpatialMap
-
Removes the element at the given position from all storage in this data structure.
- remove(I) - Method in class squidpony.squidgrid.SpatialMap
-
Removes the element with the given identity from all storage in this data structure.
- remove(short[]) - Method in class squidpony.squidmath.RegionMap
-
- remove(short) - Method in class squidpony.squidmath.ShortSet
-
Returns true if the key was removed.
- remove() - Method in class squidpony.squidmath.ShortSet.ShortSetIterator
-
- removeAccents(CharSequence) - Method in class squidpony.FakeLanguageGen
-
Removes accented Latin-script characters from a string; if the "base" characters are non-English anyway then the
result won't be an ASCII string, but otherwise it probably will be.
- removeAccents() - Method in class squidpony.FakeLanguageGen
-
- removeAdjacent(LinkedHashSet<Coord>, Coord) - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
- removeAdjacent(LinkedHashSet<Coord>, Coord, Coord) - Method in class squidpony.squidgrid.mapping.DungeonGenerator
-
- removeAdjacent(LinkedHashSet<Coord>, Coord) - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
- removeAdjacent(LinkedHashSet<Coord>, Coord, Coord) - Method in class squidpony.squidgrid.mapping.LegacyDungeonGenerator
-
Deprecated.
- removeAdjacent(LinkedHashSet<Coord>, Coord) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
- removeAdjacent(LinkedHashSet<Coord>, Coord, Coord) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
- removeAll(ShortVLA) - Method in class squidpony.squidmath.ShortVLA
-
Removes from this array all of elements contained in the specified array.
- removeFloorCharacter(char) - Method in class squidpony.squidgrid.mapping.RectangleRoomFinder
-
Removes a character from being considered as a floor.
- removeImpassableChar(char) - Method in class squidpony.squidgrid.Splash
-
Removes c
from the set of impassable characters.
- removeIndex(int) - Method in class squidpony.squidmath.ShortVLA
-
Removes and returns the item at the specified index.
- removeIsolated(short[]) - Static method in class squidpony.squidmath.CoordPacker
-
- removeModifiers() - Method in class squidpony.FakeLanguageGen
-
Creates a copy of this FakeLanguageGen with no modifiers.
- removeNearby(LinkedHashSet<Coord>, char[][]) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
- removePacked(short[], short) - Static method in class squidpony.squidmath.CoordPacker
-
Given one packed short array, original, and a Hilbert Curve index, hilbert, this produces a packed short array
that encodes "on" for any cell that was "on" in original, unless it was the position referred to by hilbert, and
encodes "off" for cells that were "off" in original or are the cell hilbert refers to.
- removePacked(short[], int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Given one packed short array, original, and a position as x,y numbers, this produces a packed short array that
encodes "on" for any cell that was "on" in original, unless it was the position referred to by x and y, and
encodes "off" for cells that were "off" in original or are the cell x and y refer to.
- removeRange(int, int) - Method in class squidpony.squidmath.ShortVLA
-
Removes the items between the specified indices, inclusive.
- removeSeveralPacked(short[], int...) - Static method in class squidpony.squidmath.CoordPacker
-
Given one packed short array, original, and a number of Hilbert Curve indices, hilbert, this produces a packed
short array that encodes "on" for any cell that was "on" in original, unless it was a position referred to by
hilbert, and encodes "off" for cells that were "off" in original and are a cell hilbert refers to.
- removeSeveralPacked(short[], Coord...) - Static method in class squidpony.squidmath.CoordPacker
-
Given one packed short array, original, and a number of Coords, points, this produces a packed short
array that encodes "on" for any cell that was "on" in original, unless it was a position referred to by an element
in points, and encodes "off" for cells that were "off" in original and are a cell points refers to.
- removeSeveralPacked(short[], Collection<Coord>) - Static method in class squidpony.squidmath.CoordPacker
-
Given one packed short array, original, and a number of Coords, points, this produces a packed short
array that encodes "on" for any cell that was "on" in original, unless it was a position referred to by an element
in points, and encodes "off" for cells that were "off" in original and are a cell points refers to.
- removeSomeOverlap(int, int, List<Coord>) - Static method in class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
-
- removeSomeOverlap(int, int, LinkedHashMap<Coord, List<Coord>>) - Static method in class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
-
- removeSound(int, int) - Method in class squidpony.squidgrid.SoundMap
-
If a sound is being produced at a given (x, y) location, this removes it.
- removeSound(Coord) - Method in class squidpony.squidgrid.SoundMap
-
If a sound is being produced at a given location (a Coord), this removes it.
- removeValue(short) - Method in class squidpony.squidmath.ShortVLA
-
- removeWalls(short[]) - Method in class squidpony.squidgrid.FOVCache
-
When you have some packed on/off data and want to make sure it does not include walls, you can use this.
- replacementTable(String, String) - Static method in class squidpony.FakeLanguageGen.Modifier
-
Creates a Modifier that will replace the nth char in initial with the nth char in change.
- replacer - Variable in class squidpony.FakeLanguageGen.Alteration
-
- res - Variable in class squidpony.squidgrid.FOVCache.RefreshUnit
-
- reseed() - Method in class squidpony.squidmath.LongPeriodRNG
-
- reseed(long) - Method in class squidpony.squidmath.LongPeriodRNG
-
Reinitializes this class' 1024 bits of state with the given seed passed into SplitMix64, the algorithm also used by
LightRNG.
- reseed(String) - Method in class squidpony.squidmath.LongPeriodRNG
-
Reinitializes this class' 1024 bits of state with the given seed, using a different strategy depending on the seed.
- reseed(long[]) - Method in class squidpony.squidmath.LongPeriodRNG
-
Reinitializes this class' 1024 bits of state with the given seed as a long array, which may or may not have 16
elements (though it is less wasteful to run this with 16 longs since that is exactly 1024 bits).
- reset() - Method in class squidpony.squidai.DijkstraMap
-
Resets this DijkstraMap to a state with no goals, no discovered path, and no changes made to gradientMap
relative to physicalMap.
- reset() - Method in class squidpony.squidgrid.MultiSpill
-
Resets this Spill to a state with an empty spillMap and an empty spreadPattern.
- reset() - Method in class squidpony.squidgrid.SoundMap
-
Resets this SoundMap to a state with no sounds, no alerted creatures, and no changes made to gradientMap
relative to physicalMap.
- reset() - Method in class squidpony.squidgrid.Spill
-
Resets this Spill to a state with an empty spillMap and an empty spreadPattern.
- reset() - Method in class squidpony.squidmath.CombinationGenerator
-
Reset the combination generator.
- reset() - Method in class squidpony.squidmath.PermutationGenerator
-
Resets the generator state.
- reset() - Method in class squidpony.squidmath.ShortSet.ShortSetIterator
-
- resetCell(int, int) - Method in class squidpony.squidai.DijkstraMap
-
Reverts a cell to the value stored in the original state of the level as known by physicalMap.
- resetCell(Coord) - Method in class squidpony.squidai.DijkstraMap
-
Reverts a cell to the value stored in the original state of the level as known by physicalMap.
- resetCell(int, int) - Method in class squidpony.squidgrid.MultiSpill
-
Reverts a cell to an unfilled state (false in spillMap).
- resetCell(Coord) - Method in class squidpony.squidgrid.MultiSpill
-
Reverts a cell to an unfilled state (false in spillMap).
- resetCell(int, int) - Method in class squidpony.squidgrid.SoundMap
-
Reverts a cell to the value stored in the original state of the level as known by physicalMap.
- resetCell(Coord) - Method in class squidpony.squidgrid.SoundMap
-
Reverts a cell to the value stored in the original state of the level as known by physicalMap.
- resetCell(int, int) - Method in class squidpony.squidgrid.Spill
-
Reverts a cell to an unfilled state (false in spillMap).
- resetCell(Coord) - Method in class squidpony.squidgrid.Spill
-
Reverts a cell to an unfilled state (false in spillMap).
- resetFortune() - Method in class squidpony.squidmath.DharmaRNG
-
Resets the stored history this RNG uses to try to ensure fairness.
- resetMap() - Method in class squidpony.squidai.DijkstraMap
-
Resets the gradientMap to its original value from physicalMap.
- resetMap() - Method in class squidpony.squidgrid.MultiSpill
-
Resets the spillMap to being empty.
- resetMap() - Method in class squidpony.squidgrid.SoundMap
-
Resets the gradientMap to its original value from physicalMap.
- resetMap() - Method in class squidpony.squidgrid.Spill
-
Resets the spillMap to being empty.
- resetSafetyMap() - Method in class squidpony.squidai.DijkstraMap
-
Resets the targetMap (which is only assigned in the first place if you use findTechniquePath() ).
- resetTargetMap() - Method in class squidpony.squidai.DijkstraMap
-
Resets the targetMap (which is only assigned in the first place if you use findTechniquePath() ).
- resize(int) - Method in class squidpony.squidmath.ShortVLA
-
- resMap - Variable in class squidpony.squidgrid.FOVCache
-
- restrictRange(int, int, int) - Static method in class squidpony.squidmath.MathExtras
-
If the specified value is not greater than or equal to the specified minimum and
less than or equal to the specified maximum, adjust it so that it is.
- restrictRange(long, long, long) - Static method in class squidpony.squidmath.MathExtras
-
If the specified value is not greater than or equal to the specified minimum and
less than or equal to the specified maximum, adjust it so that it is.
- restrictRange(double, double, double) - Static method in class squidpony.squidmath.MathExtras
-
If the specified value is not greater than or equal to the specified minimum and
less than or equal to the specified maximum, adjust it so that it is.
- retract(short[], int, int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Finds the area made by removing the "on" positions in packed that are within the specified retraction distance of
an "off" position or the edge of the map.
- retract(short[], int, int, int, boolean) - Static method in class squidpony.squidmath.CoordPacker
-
Finds the area made by removing the "on" positions in packed that are within the specified retraction distance of
an "off" position or the edge of the map.
- reverse - Variable in class squidpony.LanguageCipher
-
The mapping of lower-case word keys to lower-case word values, where keys are in the source language and values
are generated by language.
- reverse() - Method in class squidpony.squidmath.ShortVLA
-
- rightDoors - Variable in class squidpony.squidgrid.mapping.MapModule
-
- RIPPLE - Static variable in class squidpony.squidgrid.FOV
-
- RIPPLE_LOOSE - Static variable in class squidpony.squidgrid.FOV
-
- RIPPLE_TIGHT - Static variable in class squidpony.squidgrid.FOV
-
- RIPPLE_VERY_LOOSE - Static variable in class squidpony.squidgrid.FOV
-
- river - Static variable in class squidpony.squidgrid.MimicFill
-
Predefined sample; produces multiple directions of flowing, river-like shapes made of "false".
- rng - Variable in class squidpony.squidai.DijkstraMap
-
The RNG used to decide which one of multiple equally-short paths to take.
- rng - Variable in class squidpony.squidai.WaypointPathfinder
-
- rng - Variable in class squidpony.squidgrid.mapping.DenseRoomMapGenerator
-
- rng - Variable in class squidpony.squidgrid.mapping.DungeonGenerator
-
- rng - Variable in class squidpony.squidgrid.mapping.DungeonUtility
-
The random number generator that will be used for all methods in this class with a random component.
- rng - Variable in class squidpony.squidgrid.mapping.MixedGenerator
-
- rng - Variable in class squidpony.squidgrid.mapping.ModularMapGenerator
-
- rng - Variable in class squidpony.squidgrid.mapping.OrganicMapGenerator
-
- rng - Variable in class squidpony.squidgrid.mapping.PacMazeGenerator
-
- rng - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
- rng - Variable in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
The current RNG, a squidpony.squidmath.RNG
- rng - Variable in class squidpony.squidgrid.MultiSpill
-
The StatefulRNG used to decide how to randomly fill a space; can have its state set and read.
- rng - Variable in class squidpony.squidgrid.SoundMap
-
The RNG used to decide which one of multiple equally-short paths to take.
- rng - Variable in class squidpony.squidgrid.Spill
-
The RNG used to decide which one of multiple equally-short paths to take.
- rng - Variable in class squidpony.squidmath.GapShuffler
-
- rng - Variable in class squidpony.squidmath.RandomBias
-
- RNG - Class in squidpony.squidmath
-
A wrapper class for working with random number generators in a more friendly
way.
- RNG() - Constructor for class squidpony.squidmath.RNG
-
Default constructor; uses SplitMix64, which is of high quality, but low period (which rarely matters for games),
and has good speed, tiny state size, and excellent 64-bit number generation.
- RNG(long) - Constructor for class squidpony.squidmath.RNG
-
Seeded constructor; uses LightRNG, which is of high quality, but low period (which rarely matters for games),
and has good speed, tiny state size, and excellent 64-bit number generation.
- RNG(String) - Constructor for class squidpony.squidmath.RNG
-
String-seeded constructor; uses a platform-independent hash of the String (it does not use String.hashCode) as a
seed for LightRNG, which is of high quality, but low period (which rarely matters for games), and has good speed,
tiny state size, and excellent 64-bit number generation.
- RNG(RandomnessSource) - Constructor for class squidpony.squidmath.RNG
-
Uses the provided source of randomness for all calculations.
- rng - Variable in class squidpony.Thesaurus
-
- RNG.CustomRandom - Class in squidpony.squidmath
-
A subclass of java.util.Random that uses a RandomnessSource supplied by the user instead of the default.
- rollDice(int, int) - Method in class squidpony.squidmath.Dice
-
Emulate a dice roll and return the sum.
- rollGroup(String) - Method in class squidpony.squidmath.Dice
-
Turn the string to a randomized number.
- ROOM - Static variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Constant for features being added to all environment types.
- ROOM_FLOOR - Static variable in class squidpony.squidgrid.mapping.MixedGenerator
-
Constant for environment tiles that are floors for a room.
- ROOM_WALL - Static variable in class squidpony.squidgrid.mapping.MixedGenerator
-
Constant for environment tiles that are walls near a room.
- RoomFinder - Class in squidpony.squidgrid.mapping
-
A small class that can analyze a dungeon or other map and identify areas as being "room" or "corridor" based on how
thick the walkable areas are (corridors are at most 2 cells wide at their widest, rooms are anything else).
- RoomFinder(char[][]) - Constructor for class squidpony.squidgrid.mapping.RoomFinder
-
Constructs a RoomFinder given a dungeon map, and finds rooms, corridors, and their connections on the map.
- RoomFinder(char[][], int) - Constructor for class squidpony.squidgrid.mapping.RoomFinder
-
- RoomFinder(char[][], int[][]) - Constructor for class squidpony.squidgrid.mapping.RoomFinder
-
Constructs a RoomFinder given a dungeon map and an environment map (which currently is only produced by
MixedGenerator by the getEnvironment() method after generate() is called, but other classes that use
MixedGenerator may also expose that environment, such as SerpentMapGenerator.getEnvironment()), and finds rooms,
corridors, caves, and their connections on the map.
- roomFX - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
The effects that will be applied when generate is called.
- roomHeight - Variable in class squidpony.squidgrid.mapping.MixedGenerator
-
- rooms - Variable in class squidpony.squidgrid.mapping.RoomFinder
-
Not likely to be used directly, but there may be things you can do with these that are cumbersome using only
RoomFinder's simpler API.
- rooms - Static variable in class squidpony.squidgrid.MimicFill
-
Predefined sample; produces rectangular rooms with a dense packing.
- RoomsAndCorridors - Class in squidpony.tileset
-
- RoomsAndCorridors() - Constructor for class squidpony.tileset.RoomsAndCorridors
-
- RoomsAndCorridors2WideDiagonalBias - Class in squidpony.tileset
-
- RoomsAndCorridors2WideDiagonalBias() - Constructor for class squidpony.tileset.RoomsAndCorridors2WideDiagonalBias
-
- RoomsLimitConnectivity - Class in squidpony.tileset
-
- RoomsLimitConnectivity() - Constructor for class squidpony.tileset.RoomsLimitConnectivity
-
- roomWidth - Variable in class squidpony.squidgrid.mapping.MixedGenerator
-
- rotate(int) - Method in class squidpony.squidgrid.mapping.MapModule
-
Rotates a copy of this MapModule by the given number of 90-degree turns.
- roughDistance(int, int) - Method in enum squidpony.squidgrid.Radius
-
- RoundRoomsDiagonalCorridors - Class in squidpony.tileset
-
- RoundRoomsDiagonalCorridors() - Constructor for class squidpony.tileset.RoundRoomsDiagonalCorridors
-
- rows - Variable in class squidpony.squidgrid.mapping.LanesMapGenerator
-
- ruins - Static variable in class squidpony.squidgrid.MimicFill
-
- run() - Method in class squidpony.squidgrid.FOVCache.PerformanceUnit
-
When an object implementing interface Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
- run() - Method in class squidpony.squidgrid.FOVCache.QualityUnit
-
When an object implementing interface Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
- run() - Method in class squidpony.squidgrid.FOVCache.RefreshUnit
-
When an object implementing interface Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
- RUSSIAN_AUTHENTIC - Static variable in class squidpony.FakeLanguageGen
-
Imitation modern Russian, using the authentic Cyrillic alphabet used in Russia and other countries.
- RUSSIAN_ROMANIZED - Static variable in class squidpony.FakeLanguageGen
-
Imitation modern Russian, romanized to use the Latin alphabet.