Index
$ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
D
- d - Variable in class squidpony.squidmath.SquidID
- d_constraint - Variable in class squidpony.squidgrid.mapping.styled.Tile
- DamerauLevenshteinAlgorithm - Class in squidpony
-
The Damerau-Levenshtein Algorithm is an extension to the Levenshtein Algorithm which solves the edit distance problem between a source string and a target string with the following operations: Character Insertion Character Deletion Character Replacement Adjacent Character Swap Note that the adjacent character swap operation is an edit that may be applied when two adjacent characters in the source string match two adjacent characters in the target string, but in reverse order, rather than a general allowance for adjacent character swaps.
- DamerauLevenshteinAlgorithm(int, int, int, int) - Constructor for class squidpony.DamerauLevenshteinAlgorithm
-
Constructor.
- dantalion - Static variable in class squidpony.squidmath.CrossHash.Curlup
- dantalion - Static variable in class squidpony.squidmath.CrossHash.Yolk
- dantalion_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- dantalion_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- DARK - Static variable in class squidpony.squidai.CustomDijkstraMap
-
This is used to mark cells that the scan couldn't reach, and these dark cells are marked with a high number equal to 999800 .
- DARK - Static variable in class squidpony.squidai.DijkstraMap
-
This is used to mark cells that the scan couldn't reach, and these dark cells are marked with a high number equal to 999800.0 .
- data - Variable in class squidpony.squidgrid.mapping.styled.Tile
- data - Variable in class squidpony.squidmath.GreasedRegion
- DDA - Static variable in class squidpony.squidgrid.LOS
-
Optimized algorithm for Bresenham-like lines.
- DDALine - Class in squidpony.squidmath
-
A fixed-point line-drawing algorithm that should have good performance; may be useful for LOS.
- DDALine() - Constructor for class squidpony.squidmath.DDALine
- debugPrint(char[][]) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
For when you want to print a 2D char array.
- debugPrint(int, int) - Method in class squidpony.squidmath.Region
-
Prints this Region to System.out as a grid of chars with the given width and height, using '.' for Coords this contains and '#' for empty space.
- decarabia - Static variable in class squidpony.squidmath.CrossHash.Curlup
- decarabia - Static variable in class squidpony.squidmath.CrossHash.Yolk
- decarabia_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- decarabia_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- decipher(CharSequence, Map<String, String>) - Method in class squidpony.NaturalLanguageCipher
-
Deciphers words in an already-ciphered text with a given String-to-String Map for a vocabulary.
- DeckRNG - Class in squidpony.squidmath
-
An RNG variant that has 16 possible grades of value it can produce and shuffles them like a deck of cards.
- DeckRNG() - Constructor for class squidpony.squidmath.DeckRNG
-
Constructs a DeckRNG with a pseudo-random seed from Math.random().
- DeckRNG(long) - Constructor for class squidpony.squidmath.DeckRNG
-
Construct a new DeckRNG with the given seed.
- DeckRNG(CharSequence) - Constructor for class squidpony.squidmath.DeckRNG
-
String-seeded constructor uses the hash of the String as a seed for LightRNG, which is of high quality, but low period (which rarely matters for games), and has good speed and tiny state size.
- DeckRNG(RandomnessSource) - Constructor for class squidpony.squidmath.DeckRNG
-
Seeds this DeckRNG using the RandomnessSource it is given.
- decode() - Method in class squidpony.squidmath.GreasedRegion
-
Returns this GreasedRegion's data as a 2D boolean array, [width][height] in size, with on treated as true and off treated as false.
- decode(int) - Method in class squidpony.squidai.DijkstraMap
-
If you for some reason have one of the internally-used ints produced by
DijkstraMap.encode(Coord)
, this will convert it back to a Coord if you need it as such. - decode(int) - Static method in class squidpony.squidmath.Coord
-
This can take an int produced by
someCoord.encode()
and get the original Coord back out of it. - decode4x4(long) - Static method in class squidpony.squidgrid.mapping.LineKit
-
Produces a 4x4 2D char array by interpreting the bits of the given long as line information.
- decode4x4(long, char[]) - Static method in class squidpony.squidgrid.mapping.LineKit
-
Produces a 4x4 2D char array by interpreting the bits of the given long as line information.
- decodeASCII(String) - Static method in class squidpony.squidmath.CoordPacker
-
Given a String specifically produced by CoordPacker.encodeASCII(), this will produce a packed data array.
- decodeBraille(String) - Static method in class squidpony.squidmath.CoordPacker
-
Given a String specifically produced by CoordPacker.encodeBraille(), this will produce a packed data array.
- decodeInto4x4(long, char[], char[][], int, int) - Static method in class squidpony.squidgrid.mapping.LineKit
-
Fills a 4x4 area of the given 2D char array
into
by interpreting the bits of the given long as line information. - decodePermutation(long) - Method in class squidpony.squidmath.PermutationGenerator
-
Given a long between 0 and the total number of permutations possible (see getTotalPermutations() for how to access this), creates a List filled with the permutation described by the long as a special (factoradic) index into the possible permutations.
- decodePermutation(long, int) - Static method in class squidpony.squidmath.PermutationGenerator
-
Given a long between 0 and the total number of permutations possible (see getTotalPermutations() for how to access this) and an int count of how many indices to find a permutation of, returns an array with the permutation of the indices described by the long as a special (factoradic) index into the possible permutations.
- decodePermutation(long, int, int) - Static method in class squidpony.squidmath.PermutationGenerator
-
Given a long between 0 and the total number of permutations possible (see getTotalPermutations() for how to access this) and an int count of how many indices to find a permutation of, returns an array with the permutation of the indices described by the long as a special (factoradic) index into the possible permutations.
- decodePermutation(long, List<T>) - Method in class squidpony.squidmath.PermutationGenerator
-
Given a long between 0 and the total number of permutations possible (see getTotalPermutations() for how to access this) and a List of T with the same length as the elements this was constructed with, fills the List with the permutation described by the long as a special (factoradic) index into the possible permutations.
- decodePermutation(long, T[]) - Method in class squidpony.squidmath.PermutationGenerator
-
Given a long between 0 and the total number of permutations possible (see getTotalPermutations() for how to access this) and an array of T with the same length as the elements this was constructed with, fills the array with the permutation described by the long as a special (factoradic) index into the possible permutations.
- decodePermutation(BigInteger, int) - Static method in class squidpony.squidmath.PermutationGenerator
-
Given a long between 0 and the total number of permutations possible (see getBigTotalPermutations() for how to access this) and an int count of how many indices to find a permutation of, returns an array with the permutation of the indices described by the long as a special (factoradic) index into the possible permutations.
- decodePermutation(BigInteger, int, int) - Static method in class squidpony.squidmath.PermutationGenerator
-
Given a long between 0 and the total number of permutations possible (see getBigTotalPermutations() for how to access this) and an int count of how many indices to find a permutation of, returns an array with the permutation of the indices described by the long as a special (factoradic) index into the possible permutations.
- decodeX(int) - Method in class squidpony.squidai.DijkstraMap
-
If you for some reason have one of the internally-used ints produced by
DijkstraMap.encode(Coord)
, this will decode the x component of the point encoded in that int. - decodeX(int) - Method in class squidpony.squidgrid.mapping.WorldMapGenerator
- decodeY(int) - Method in class squidpony.squidai.DijkstraMap
-
If you for some reason have one of the internally-used ints produced by
DijkstraMap.encode(Coord)
, this will decode the y component of the point encoded in that int. - decodeY(int) - Method in class squidpony.squidgrid.mapping.WorldMapGenerator
- decompress(String) - Static method in class squidpony.ByteStringEncoding
- decompress(String) - Static method in class squidpony.GridCompression
- decompress(String) - Static method in class squidpony.LZSEncoding
-
Decompresses a String that had been compressed with
LZSEncoding.compress(String)
. - decompress(String) - Static method in class squidpony.LZSPlus
-
Decompresses text that was compressed with LZ-String compression; does not reverse decryption so it can only decompress Strings produced by
LZSPlus.compress(String)
, orLZSPlus.compress(String, long[])
with an empty or null keys parameter. - decompress(String) - Static method in class squidpony.squidmath.GreasedRegion
-
Decompresses a String returned by
GreasedRegion.toCompressedString()
, returning a new GreasedRegion with identical width, height, and contents to the GreasedRegion before compression. - decompress(String, long[]) - Static method in class squidpony.LZSPlus
-
Decompresses text that was compressed with LZ-String compression, reversing any encryption if the keys long array matches the long array passed to
LZSPlus.compress(String, long[])
(keys can be null if no array was passed). - decompressFromBase64(String) - Static method in class squidpony.LZSEncoding
-
Decompresses a String that had been compressed with
LZSEncoding.compressToBase64(String)
. - decompressFromEncodedURIComponent(String) - Static method in class squidpony.LZSEncoding
-
Decompresses a String that had been compressed with
LZSEncoding.compressToEncodedURIComponent(String)
. - decompressFromUTF16(String) - Static method in class squidpony.LZSEncoding
-
Decompresses a String that had been compressed with
LZSEncoding.compressToUTF16(String)
. - DEEP_SEA_LEVEL - Static variable in class squidpony.squidgrid.mapping.MetsaMapFactory
- DEEP_SPEECH - Static variable in class squidpony.FakeLanguageGen
-
Fantasy/sci-fi language that would potentially be fitting for a trade language spoken by various very-different groups, such as creatures with tentacled faces who need to communicate with spider-elves and living crystals.
- deepLakeGlyph - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
The char to use for deep lake cells.
- deepWaterLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- deepWaterUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- DEFAULT_DUNGEON - squidpony.squidgrid.mapping.styled.TilesetType
-
A generally useful kind of dungeon for ruins or underground manufactured areas.
- DEFAULT_INITIAL_SIZE - Static variable in class squidpony.squidmath.Arrangement
-
The initial default size of a hash table.
- DEFAULT_INITIAL_SIZE - Static variable in class squidpony.squidmath.IntDoubleOrderedMap
-
The initial default size of a hash table.
- DEFAULT_INITIAL_SIZE - Static variable in class squidpony.squidmath.IntIntOrderedMap
-
The initial default size of a hash table.
- DEFAULT_INITIAL_SIZE - Static variable in class squidpony.squidmath.OrderedMap
-
The initial default size of a hash table.
- DEFAULT_INITIAL_SIZE - Static variable in class squidpony.squidmath.OrderedSet
-
The initial default size of a hash table.
- DEFAULT_INITIAL_SIZE - Static variable in class squidpony.squidmath.UnorderedMap
-
The initial default size of a hash table.
- DEFAULT_INITIAL_SIZE - Static variable in class squidpony.squidmath.UnorderedSet
-
The initial default size of a hash table.
- DEFAULT_LOAD_FACTOR - Static variable in class squidpony.squidmath.Arrangement
-
The default load factor of a hash table.
- DEFAULT_LOAD_FACTOR - Static variable in class squidpony.squidmath.IntDoubleOrderedMap
-
The default load factor of a hash table.
- DEFAULT_LOAD_FACTOR - Static variable in class squidpony.squidmath.IntIntOrderedMap
-
The default load factor of a hash table.
- DEFAULT_LOAD_FACTOR - Static variable in class squidpony.squidmath.OrderedMap
-
The default load factor of a hash table.
- DEFAULT_LOAD_FACTOR - Static variable in class squidpony.squidmath.OrderedSet
-
The default load factor of a hash table.
- DEFAULT_LOAD_FACTOR - Static variable in class squidpony.squidmath.UnorderedMap
-
The default load factor of a hash table.
- DEFAULT_LOAD_FACTOR - Static variable in class squidpony.squidmath.UnorderedSet
-
The default load factor of a hash table.
- DEFAULT_NOISE - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
-
A FastNoise that has a higher frequency than that class defaults to, which is useful for maps here.
- DEFAULT_WEIGHT - Static variable in class squidpony.squidai.graph.Connection
- DefaultDungeon - Class in squidpony.tileset
- DefaultDungeon() - Constructor for class squidpony.tileset.DefaultDungeon
- DefaultGraph - Class in squidpony.squidai.graph
-
A default setting for an
UndirectedGraph
of Coord vertices where all connections have cost 1. - DefaultGraph() - Constructor for class squidpony.squidai.graph.DefaultGraph
-
No-op no-arg constructor, present for
Serializable
; if you use this you must callDefaultGraph.init(char[][])
orDefaultGraph.init(char[][], boolean)
before using the DefaultGraph. - DefaultGraph(char[][]) - Constructor for class squidpony.squidai.graph.DefaultGraph
-
Builds a DefaultGraph from a 2D char array that uses
'#'
to represent any kind of inaccessible cell, with all other chars treated as walkable. - DefaultGraph(char[][], boolean) - Constructor for class squidpony.squidai.graph.DefaultGraph
-
Builds a DefaultGraph from a 2D char array that uses
'#'
to represent any kind of inaccessible cell, with all other chars treated as walkable. - defaultHasher - Static variable in class squidpony.squidmath.CrossHash
- defaultLanguage - Variable in class squidpony.Thesaurus
- defaultReturnValue() - Method in class squidpony.squidmath.IntDoubleOrderedMap
- defaultReturnValue() - Method in class squidpony.squidmath.IntIntOrderedMap
- defaultReturnValue() - Method in class squidpony.squidmath.OrderedMap
- defaultReturnValue() - Method in class squidpony.squidmath.UnorderedMap
- defaultReturnValue(double) - Method in class squidpony.squidmath.IntDoubleOrderedMap
- defaultReturnValue(int) - Method in class squidpony.squidmath.IntIntOrderedMap
- defaultReturnValue(V) - Method in class squidpony.squidmath.OrderedMap
- defaultReturnValue(V) - Method in class squidpony.squidmath.UnorderedMap
- defaultSeed - Variable in class squidpony.squidmath.MasonNoise
- defaultSeed - Variable in class squidpony.squidmath.SeededNoise
- defRetValue - Variable in class squidpony.squidmath.Arrangement
-
Default return value.
- defRetValue - Variable in class squidpony.squidmath.IntDoubleOrderedMap
-
Default return value.
- defRetValue - Variable in class squidpony.squidmath.IntIntOrderedMap
-
Default return value.
- defRetValue - Variable in class squidpony.squidmath.OrderedMap
-
Default return value.
- defRetValue - Variable in class squidpony.squidmath.UnorderedMap
-
Default return value.
- degarble(String) - Static method in class squidpony.Garbler
-
Given a garbled String that was produced by
Garbler.garble(String)
(using the default key), this reverses the garbling and gets the original String. - degarble(String, long) - Static method in class squidpony.Garbler
-
Given a garbled String that was produced by
Garbler.garble(String, long)
(using the given key), this reverses the garbling and gets the original String. - degarble(String, long[]) - Static method in class squidpony.Garbler
-
Given a garbled String that was produced by
Garbler.garble(String, long[])
(using the given keys), this reverses the garbling and gets the original String. - degarble(String, String) - Static method in class squidpony.Garbler
-
Given a garbled String that was produced by
Garbler.garble(String, String)
(using the given keyText), this reverses the garbling and gets the original String. - degrees(Coord, Coord) - Static method in class squidpony.squidmath.Coord
-
Gets the angle in degrees to go between two Coords.
- DelaunayTriangulator - Class in squidpony.squidmath
-
A Java implementation of an incremental 2D Delaunay triangulation algorithm.
- DelaunayTriangulator() - Constructor for class squidpony.squidmath.DelaunayTriangulator
-
Constructs a triangulator instance but does not insert any points; you should add points to
DelaunayTriangulator.getPoints()
, which is an array that can hold 256 points, before runningDelaunayTriangulator.triangulate()
. - DelaunayTriangulator(Collection<CoordDouble>) - Constructor for class squidpony.squidmath.DelaunayTriangulator
-
Constructs a new triangulator instance using the specified point set.
- DelaunayTriangulator.Edge - Class in squidpony.squidmath
- DelaunayTriangulator.Triangle - Class in squidpony.squidmath
- delta - Static variable in class squidpony.squidmath.CrossHash.Curlup
- delta - Static variable in class squidpony.squidmath.CrossHash.Mist
- delta - Static variable in class squidpony.squidmath.CrossHash.Yolk
- delta_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- delta_ - Static variable in class squidpony.squidmath.CrossHash.Mist
- delta_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- deltaX - Variable in enum squidpony.squidgrid.Direction
-
The x coordinate difference for this direction.
- deltaY - Variable in enum squidpony.squidgrid.Direction
-
The y coordinate difference for this direction.
- DEMONIC - Static variable in class squidpony.FakeLanguageGen
-
Fantasy language that might be suitable for a language spoken by demons, aggressive warriors, or people who seek to emulate or worship similar groups.
- DenseRoomMapGenerator - Class in squidpony.squidgrid.mapping
-
Map generator that constructs a large number of overlapping rectangular rooms.
- DenseRoomMapGenerator() - Constructor for class squidpony.squidgrid.mapping.DenseRoomMapGenerator
- DenseRoomMapGenerator(int, int) - Constructor for class squidpony.squidgrid.mapping.DenseRoomMapGenerator
- DenseRoomMapGenerator(int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.DenseRoomMapGenerator
- DEPTH - Static variable in class squidpony.squidmath.CoordPacker
- depthFirstSearch(Coord) - Method in class squidpony.squidai.graph.CostlyGraph
-
Perform a depth first search starting from the specified vertex.
- depthFirstSearch(Coord) - Method in class squidpony.squidai.graph.DefaultGraph
-
Perform a depth first search starting from the specified vertex.
- depthFirstSearch(Coord, int, int) - Method in class squidpony.squidai.graph.CostlyGraph
-
Perform a depth first search starting from the specified vertex.
- depthFirstSearch(Coord, int, int) - Method in class squidpony.squidai.graph.DefaultGraph
-
Perform a depth first search starting from the specified vertex.
- depthFirstSearch(V) - Method in class squidpony.squidai.graph.Algorithms
-
Perform a depth first search starting from the specified vertex.
- depthFirstSearch(V, int, int) - Method in class squidpony.squidai.graph.Algorithms
-
Perform a depth first search starting from the specified vertex.
- depths - Variable in class squidpony.squidgrid.Adjacency
-
Can be changed if the map changes; you should get the neighbors from neighborMaps() again after changing this.
- desaturate(T, float) - Method in interface squidpony.IColorCenter
-
Brings a color closer to grayscale by the specified degree and returns the new color (desaturated somewhat).
- desaturate(T, float) - Method in class squidpony.IColorCenter.Skeleton
-
Brings a color closer to grayscale by the specified degree and returns the new color (desaturated somewhat).
- desaturated(T) - Method in interface squidpony.IColorCenter
-
Gets a fully-desaturated version of the given color (keeping its brightness, but making it grayscale).
- desaturated(T) - Method in class squidpony.IColorCenter.Skeleton
-
Gets a fully-desaturated version of the given color (keeping its brightness, but making it grayscale).
- deserializeFromString(String) - Static method in class squidpony.FakeLanguageGen.Alteration
- deserializeFromString(String) - Static method in class squidpony.FakeLanguageGen
- deserializeFromString(String) - Static method in class squidpony.FakeLanguageGen.Modifier
- deserializeFromString(String) - Static method in class squidpony.FakeLanguageGen.SentenceForm
- deserializeFromString(String) - Static method in class squidpony.MarkovChar
-
Recreates an already-analyzed MarkovText given a String produced by
MarkovChar.serializeToString()
. - deserializeFromString(String) - Static method in class squidpony.MarkovText
-
Recreates an already-analyzed MarkovText given a String produced by
MarkovText.serializeToString()
. - deserializeFromString(String) - Static method in class squidpony.MarkovTextLimited
-
Recreates an already-analyzed MarkovTextLimited given a String produced by
MarkovTextLimited.serializeToString()
. - deserializeFromString(String) - Static method in class squidpony.ObText
-
Deserializes an ObText that was serialized by
ObText.serializeToString()
orObText.toString()
, and will ignore the prefix and suffix that toString appends for readability (these are "ObText object: [[[[ " and " ]]]]", for reference). - deserializeFromString(String) - Static method in class squidpony.squidmath.GreasedRegion
- deserializeFromString(String) - Static method in class squidpony.squidmath.IntVLA
- deserializeFromString(String) - Static method in class squidpony.squidmath.WeightedTable
- DetailedBiomeMapper() - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
-
Simple constructor; pretty much does nothing.
- DetailedMimic - Class in squidpony.squidgrid
-
Similar to MimicFill, this class can be used to imitate the style of an existing piece of data, but this works on more than just booleans; it can produce similar styles of texture (its original use in SynTex), of map, of item placement, and so on by specifying a different technique for differentiating two int values.
- DetailedMimic() - Constructor for class squidpony.squidgrid.DetailedMimic
-
Constructor that uses an unseeded RNG and, without any instruction otherwise, assumes the ints this is asked to compare are colors in RGBA8888 format.
- DetailedMimic(AestheticDifference) - Constructor for class squidpony.squidgrid.DetailedMimic
-
Constructor that uses an unseeded RNG (effectively a random seed) and the given AestheticDifference.
- DetailedMimic(AestheticDifference, IRNG) - Constructor for class squidpony.squidgrid.DetailedMimic
-
Constructor that uses the given RNG and the given AestheticDifference.
- detectCycle() - Method in class squidpony.squidai.graph.Algorithms
-
Checks whether there are any cycles in the graph using depth first searches.
- detectCycle() - Method in class squidpony.squidai.graph.CostlyGraph
-
Checks whether there are any cycles in the graph using depth first searches.
- detectCycle() - Method in class squidpony.squidai.graph.DefaultGraph
-
Checks whether there are any cycles in the graph using depth first searches.
- deteriorate(RandomnessSource, double) - Method in class squidpony.squidmath.GreasedRegion
-
Randomly removes points from a GreasedRegion, with preservation as a fraction between 1.0 (keep all) and 0.0 (remove all).
- deteriorate(RandomnessSource, int) - Method in class squidpony.squidmath.GreasedRegion
-
Randomly removes points from a GreasedRegion, with larger values for preservation keeping more of the existing shape intact.
- determine(int) - Static method in class squidpony.squidmath.GWTRNG
-
A deterministic random long generator that, given one int
state
as input, returns an almost-always-different long as a result. - determine(int) - Static method in class squidpony.squidmath.LowStorageShuffler
-
Used to rearrange the bits of seeds this is given in a way that should partly randomize them.
- determine(int) - Static method in class squidpony.squidmath.PintRNG
-
Gets a pseudo-random int that is a permutation of
state
, which is an int. - determine(int) - Static method in class squidpony.squidmath.SilkRNG
-
A deterministic random long generator that, given one int
state
as input, returns an almost-always-different long as a result. - determine(int, int) - Static method in class squidpony.squidmath.LightRNG
- determine(int, int) - Static method in class squidpony.squidmath.PintRNG
- determine(int, int) - Static method in class squidpony.squidmath.VanDerCorputQRNG
-
Convenience method to get a double from the van der Corput sequence with the given
base
at the requestedindex
without needing to construct a VanDerCorputQRNG. - determine(long) - Static method in class squidpony.squidmath.DiverRNG
-
Fast static randomizing method that takes its state as a parameter; state is expected to change between calls to this.
- determine(long) - Static method in class squidpony.squidmath.LFSR
-
Gets the next number that an LFSR would produce using
LFSR.nextLong()
if its state wasstate
. - determine(long) - Static method in class squidpony.squidmath.LightRNG
- determine(long) - Static method in class squidpony.squidmath.LinnormRNG
-
Static randomizing method that takes its state as a parameter; state is expected to change between calls to this.
- determine(long) - Static method in class squidpony.squidmath.PermutedRNG
-
Given suitably-different inputs as
state
, this will permute that state to get a seemingly-unrelated number. - determine(long) - Static method in class squidpony.squidmath.PulleyRNG
-
Static randomizing method that takes its state as a parameter; state is expected to change between calls to this.
- determine(long) - Static method in class squidpony.squidmath.ThrustAltRNG
-
Returns a random permutation of state; if state is the same on two calls to this, this will return the same number.
- determine2(int) - Static method in class squidpony.squidmath.VanDerCorputQRNG
-
Convenience method to get a double from the van der Corput sequence with the base 2 at the requested
index
without needing to construct a VanDerCorputQRNG. - determine2_scrambled(int) - Static method in class squidpony.squidmath.VanDerCorputQRNG
-
Method to get a double from the van der Corput sequence with the base 2 at a scrambling of the requested
index
without needing to construct a VanDerCorputQRNG. - determineBounded(int, int) - Static method in class squidpony.squidmath.GWTRNG
-
A deterministic random int generator that, given one int
state
and an outer intbound
as input, returns an int between 0 (inclusive) andbound
(exclusive) as a result, which should have no noticeable correlation betweenstate
and the result. - determineBounded(int, int) - Static method in class squidpony.squidmath.LFSR
-
Gets an int using
LFSR.determineInt(int)
and bounds it to fit between 0 (inclusive) and bound (exclusive). - determineBounded(int, int) - Static method in class squidpony.squidmath.PintRNG
- determineBounded(int, int) - Static method in class squidpony.squidmath.SilkRNG
-
A deterministic random int generator that, given one int
state
and an outer intbound
as input, returns an int between 0 (inclusive) andbound
(exclusive) as a result, which should have no noticeable correlation betweenstate
and the result. - determineBounded(long, int) - Static method in class squidpony.squidmath.DiverRNG
-
Fast static randomizing method that takes its state as a parameter and limits output to an int between 0 (inclusive) and bound (exclusive); state is expected to change between calls to this.
- determineBounded(long, int) - Static method in class squidpony.squidmath.LFSR
-
Gets the next number that an LFSR would produce using
LFSR.nextInt(int)
if its state wasstate
andbound
was passed to nextInt(). - determineBounded(long, int) - Static method in class squidpony.squidmath.LightRNG
- determineBounded(long, int) - Static method in class squidpony.squidmath.LinnormRNG
-
Static randomizing method that takes its state as a parameter and limits output to an int between 0 (inclusive) and bound (exclusive); state is expected to change between calls to this.
- determineBounded(long, int) - Static method in class squidpony.squidmath.PermutedRNG
-
Given suitably-different inputs as
state
, this will permute that state to get a seemingly-unrelated number as an int between 0 and bound. - determineBounded(long, int) - Static method in class squidpony.squidmath.PulleyRNG
-
Static randomizing method that takes its state as a parameter and limits output to an int between 0 (inclusive) and bound (exclusive); state is expected to change between calls to this.
- determineBounded(long, int) - Static method in class squidpony.squidmath.ThrustAltRNG
-
Given a state that should usually change each time this is called, and a bound that limits the result to some (typically fairly small) int, produces a pseudo-random int between 0 and bound (exclusive).
- determineBoundedShort(int, int) - Static method in class squidpony.squidmath.ThrustAltRNG
-
Given an int state that should usually change each time this is called, and a bound that limits the result to some (typically fairly small) int, produces a pseudo-random int between 0 and bound (exclusive).
- determineByte(byte) - Static method in class squidpony.squidmath.LFSR
-
Gets the next number from 1 to 255 that a different kind of LFSR would produce if its state was
state
. - determineDouble(int) - Static method in class squidpony.squidmath.GWTRNG
-
A deterministic random double generator that, given one int
state
as input, returns an almost-always-different double between 0.0 and 1.0 as a result. - determineDouble(int) - Static method in class squidpony.squidmath.SilkRNG
-
A deterministic random double generator that, given one int
state
as input, returns an almost-always-different double between 0.0 and 1.0 as a result. - determineDouble(long) - Static method in class squidpony.squidmath.DiverRNG
-
Returns a random double that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineDouble(long) - Static method in class squidpony.squidmath.LightRNG
-
Returns a random double that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineDouble(long) - Static method in class squidpony.squidmath.LinnormRNG
-
Returns a random double that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineDouble(long) - Static method in class squidpony.squidmath.PulleyRNG
-
Returns a random double that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineDouble(long) - Static method in class squidpony.squidmath.ThrustAltRNG
-
Returns a random double that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineFloat(int) - Static method in class squidpony.squidmath.GWTRNG
-
A deterministic random float generator that, given one int
state
as input, returns an almost-always-different float between 0.0f and 1.0f as a result. - determineFloat(int) - Static method in class squidpony.squidmath.SilkRNG
-
A deterministic random float generator that, given one int
state
as input, returns an almost-always-different float between 0.0f and 1.0f as a result. - determineFloat(long) - Static method in class squidpony.squidmath.DiverRNG
-
Returns a random float that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineFloat(long) - Static method in class squidpony.squidmath.LightRNG
-
Returns a random float that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineFloat(long) - Static method in class squidpony.squidmath.LinnormRNG
-
Returns a random float that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineFloat(long) - Static method in class squidpony.squidmath.PulleyRNG
-
Returns a random float that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineFloat(long) - Static method in class squidpony.squidmath.ThrustAltRNG
-
Returns a random float that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- determineFloatFromInt(int) - Static method in class squidpony.squidmath.ThrustAltRNG
-
Returns a random float that is deterministic based on an int state; if state is the same on two calls to this, this will return the same float.
- determineInt(int) - Static method in class squidpony.squidmath.GWTRNG
-
A deterministic random int generator that, given one int
state
as input, irreversibly returns an almost-always-different int as a result. - determineInt(int) - Static method in class squidpony.squidmath.LFSR
-
Gets the next number that a different kind of 32-bit LFSR would produce if its state was
state
. - determineInt(int) - Static method in class squidpony.squidmath.SilkRNG
-
A deterministic random int generator that, given one int
state
as input, irreversibly returns an almost-always-different int as a result. - determineInt(int) - Static method in class squidpony.squidmath.ThrustAltRNG
-
Returns a random permutation of state; if state is the same on two calls to this, this will return the same number.
- determineIntSymmetrical(int) - Static method in class squidpony.squidmath.LFSR
-
Gets the next int that a different kind of LFSR would produce if its state was
state
. - determineMixed(int) - Static method in class squidpony.squidmath.VanDerCorputQRNG
-
Chooses one sequence from the van der Corput sequences with bases 2, 3, and 5, where 5 is used 1/8 of the time, 3 is used 3/8 of the time, and 2 is used 1/2 of the time, and returns a double from the chosen sequence at the specified
index
. - determinePositiveInt(int) - Static method in class squidpony.squidmath.LFSR
-
Gets the next positive int that a different kind of 31-bit LFSR would produce if its state was
state
. - determinePositiveLong(long) - Static method in class squidpony.squidmath.LFSR
-
Gets the next positive long that a different kind of 63-bit LFSR would produce if its state was
state
. - DharmaRNG - Class in squidpony.squidmath
-
An alteration to a RandomnessSource that attempts to produce values that are perceived as fair to an imperfect user.
- DharmaRNG() - Constructor for class squidpony.squidmath.DharmaRNG
-
Constructs a DharmaRNG with a pseudo-random seed from Math.random().
- DharmaRNG(long) - Constructor for class squidpony.squidmath.DharmaRNG
-
Construct a new DharmaRNG with the given seed.
- DharmaRNG(long, double) - Constructor for class squidpony.squidmath.DharmaRNG
-
Construct a new DharmaRNG with the given seed.
- DharmaRNG(CharSequence) - Constructor for class squidpony.squidmath.DharmaRNG
-
String-seeded constructor; uses a platform-independent hash of the String (it does not use String.hashCode) as a seed for DiverRNG, 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.
- DharmaRNG(String, double) - Constructor for class squidpony.squidmath.DharmaRNG
-
String-seeded constructor; uses a platform-independent hash of the String (it does not use String.hashCode) as a seed for DiverRNG, 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.
- DharmaRNG(RandomnessSource) - Constructor for class squidpony.squidmath.DharmaRNG
-
Construct a new DharmaRNG with the given seed.
- DharmaRNG(RandomnessSource, double) - Constructor for class squidpony.squidmath.DharmaRNG
-
Construct a new DharmaRNG with the given seed.
- DIAGONAL - squidpony.squidai.AimLimit
- DIAGONALS - Static variable in enum squidpony.squidgrid.Direction
-
An array which holds only the four diagonal directions.
- DIAMOND - squidpony.squidgrid.Radius
-
In an unobstructed area the FOV would be a diamond.
- Dice - Class in squidpony.squidmath
-
Class for emulating various traditional RPG-style dice rolls.
- Dice() - Constructor for class squidpony.squidmath.Dice
-
Creates a new dice roller that uses a random RNG seed for an RNG that it owns.
- Dice(long) - Constructor for class squidpony.squidmath.Dice
-
Creates a new dice roller that will use its own RNG, seeded with the given seed.
- Dice(String) - Constructor for class squidpony.squidmath.Dice
-
Creates a new dice roller that will use its own RNG, seeded with the given seed.
- Dice(IRNG) - Constructor for class squidpony.squidmath.Dice
-
Creates a new dice roller that uses the given IRNG, which can be seeded before it's given here.
- difference - Variable in class squidpony.squidgrid.DetailedMimic
- difference(int, int) - Method in interface squidpony.squidgrid.AestheticDifference
-
Finds the difference between two int values, which implementations of this interface may treat as colors, as kinds of map feature, as item placement factors, or various other ways.
- differencePacked(short[], short[]) - Static method in class squidpony.squidmath.CoordPacker
-
Given two packed short arrays, left and right, this produces a packed short array that encodes "on" for any cell that was "on" in left but "off" in right, and encodes "off" for cells that were "on" in right or "off" in left.
- DIGITS - Static variable in class squidpony.StringKit
- DIJKSTRA - squidpony.squidmath.AStarSearch.SearchType
-
Full space search.
- DIJKSTRA - Static variable in interface squidpony.squidai.graph.Heuristic
-
A predefined Heuristic for Coord nodes in a 2D plane where the heuristic is not used, and all cells are considered equivalent regardless of actual distance.
- DijkstraMap - Class in squidpony.squidai
-
An alternative to AStarSearch when you want to fully explore a search space, or when you want a gradient floodfill.
- DijkstraMap() - Constructor for class squidpony.squidai.DijkstraMap
-
Construct a DijkstraMap without a level to actually scan.
- DijkstraMap(char[][]) - Constructor for class squidpony.squidai.DijkstraMap
-
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other char[][] where '#' means a wall and anything else is a walkable tile.
- DijkstraMap(char[][], char) - Constructor for class squidpony.squidai.DijkstraMap
-
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other char[][] where one char means a wall and anything else is a walkable tile.
- DijkstraMap(char[][], Measurement) - Constructor for class squidpony.squidai.DijkstraMap
-
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other char[][] where '#' means a wall and anything else is a walkable tile.
- DijkstraMap(char[][], Measurement, IRNG) - Constructor for class squidpony.squidai.DijkstraMap
-
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other char[][] where '#' means a wall and anything else is a walkable tile.
- DijkstraMap(char[][], IRNG) - Constructor for class squidpony.squidai.DijkstraMap
-
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other char[][] where '#' means a wall and anything else is a walkable tile.
- DijkstraMap(double[][]) - Constructor for class squidpony.squidai.DijkstraMap
-
Used to construct a DijkstraMap from the output of another.
- DijkstraMap(double[][], Measurement) - Constructor for class squidpony.squidai.DijkstraMap
-
Used to construct a DijkstraMap from the output of another, specifying a distance calculation.
- DijkstraMap(IRNG) - Constructor for class squidpony.squidai.DijkstraMap
-
Construct a DijkstraMap without a level to actually scan.
- dijkstraScan(char[][], Coord...) - Static method in class squidpony.squidmath.GreasedRegion
-
Discouraged from active use; slower than
DijkstraMap
and has less features. - dijkstraScan8way(char[][], Coord...) - Static method in class squidpony.squidmath.GreasedRegion
-
Discouraged from active use; slower than
DijkstraMap
and has less features. - dijkstraToHashMap(double[][]) - Static method in class squidpony.squidai.AreaUtils
-
This takes a DijkstraMap that has already completed a scan() and returns a HashMap of Coord keys to Double values, and will have a key for every position that was reached in the DijkstraMap, with 1.0 as the only value.
- dim - Variable in class squidpony.squidmath.PhantomNoise
- DirectedConnection() - Constructor for class squidpony.squidai.graph.Connection.DirectedConnection
- DirectedGraph<V> - Class in squidpony.squidai.graph
-
A kind of
Graph
where all connections between vertices are one-way (but a connection may exist that goes from A to B and another connection may go from B to A), and each connection can have a different cost. - DirectedGraph() - Constructor for class squidpony.squidai.graph.DirectedGraph
- DirectedGraph(Collection<V>) - Constructor for class squidpony.squidai.graph.DirectedGraph
- DirectedGraphAlgorithms<V> - Class in squidpony.squidai.graph
-
Algorithms specific to directed graphs, like
CostlyGraph
, as well as generalAlgorithms
. - direction - Variable in class squidpony.squidgrid.iterator.SquidIterators.Linear
- Direction - Enum in squidpony.squidgrid
-
Represents the eight grid directions and the deltaX, deltaY values associated with those directions.
- directionCount() - Method in enum squidpony.squidgrid.Measurement
- directions - Variable in class squidpony.squidgrid.Adjacency
-
The array of all possible directions this allows, regardless of cost.
- directText(String) - Method in enum squidpony.Messaging.NounTrait
- disconnect() - Method in class squidpony.squidai.graph.Node
- disperse() - Method in class squidpony.squidmath.GreasedRegion
-
Removes "on" cells that are orthogonally adjacent to other "on" cells, keeping at least one cell in a group "on." Uses a "checkerboard" pattern to determine which cells to turn off, with all cells that would be black on a checkerboard turned off and all others kept as-is.
- disperse(int) - Static method in class squidpony.squidmath.PintRNG
-
Like
PintRNG.determine(int)
, gets a pseudo-random int that is a permutation ofstate
, which is an int. - disperse8way() - Method in class squidpony.squidmath.GreasedRegion
-
Removes "on" cells that are 8-way adjacent to other "on" cells, keeping at least one cell in a group "on." Uses a "grid-like" pattern to determine which cells to turn off, with all cells with even x and even y kept as-is but all other cells (with either or both odd x or odd y) turned off.
- disperseBits(int) - Static method in class squidpony.squidmath.GreasedRegion
-
Narrow-purpose; takes an int that represents a distance down the Z-order curve and moves its bits around so that its x component is stored in the bottom 16 bits (use
(n & 0xffff)
to obtain) and its y component is stored in the upper 16 bits (use(n >>> 16)
to obtain). - disperseBounded(int, int) - Static method in class squidpony.squidmath.PintRNG
- disperseRandom(RandomnessSource) - Method in class squidpony.squidmath.GreasedRegion
-
Removes "on" cells that are nearby other "on" cells, with a random factor to which bits are actually turned off that still ensures exactly half of the bits are kept as-is (the one exception is when height is an odd number, which makes the bottom row slightly random).
- displacement - Variable in class squidpony.squidgrid.mapping.ModularMapGenerator
- distance - Variable in class squidpony.squidai.graph.Node
-
Internal; confirmed distance so far to get to this Node from the start.
- distance(double, double) - Method in class squidpony.squidmath.Coord
- distance(double, double) - Method in class squidpony.squidmath.CoordDouble
- distance(long, long) - Static method in class squidpony.squidmath.MoonwalkRNG
-
Returns the number of steps (where a step is equal to one call to most random number methods in this class) needed to go from receiving out1 from a MoonwalkRNG's
MoonwalkRNG.nextLong()
method to receiving out2 from another call. - distance(Coord) - Method in class squidpony.squidmath.Coord
- distance(Coord3D) - Method in class squidpony.squidmath.Coord3D
-
Returns the linear distance between this coordinate point and the provided one.
- distance(CoordDouble) - Method in class squidpony.squidmath.CoordDouble
- DISTANCE - Static variable in class squidpony.squidmath.FastNoise
- DISTANCE_2 - Static variable in class squidpony.squidmath.FastNoise
- DISTANCE_2_ADD - Static variable in class squidpony.squidmath.FastNoise
- DISTANCE_2_DIV - Static variable in class squidpony.squidmath.FastNoise
- DISTANCE_2_MUL - Static variable in class squidpony.squidmath.FastNoise
- DISTANCE_2_SUB - Static variable in class squidpony.squidmath.FastNoise
- distanceSq(double, double) - Method in class squidpony.squidmath.Coord
- distanceSq(double, double) - Method in class squidpony.squidmath.CoordDouble
- distanceSq(Coord) - Method in class squidpony.squidmath.Coord
- distanceSq(CoordDouble) - Method in class squidpony.squidmath.CoordDouble
- distort(int[][], int, int, Noise.Noise2D, long) - Static method in class squidpony.squidmath.TuringPattern
-
Alters the given offset information (as a jagged 2D int array) with the given Noise2D instance and seed.
- distort(int[][], int, int, Noise.Noise3D, double, long) - Static method in class squidpony.squidmath.TuringPattern
-
Alters the given offset information (as a jagged 2D int array) with the given Noise3D instance and seed, allowing a z position for the 3D component so this can change over time with changing z.
- DistributedRNG - Class in squidpony.squidmath
-
An implementation of
IRNG
that allows specifying a distribution for all random numbers it produces via aIDistribution.SimpleDistribution
value. - DistributedRNG() - Constructor for class squidpony.squidmath.DistributedRNG
- DistributedRNG(long) - Constructor for class squidpony.squidmath.DistributedRNG
- DistributedRNG(long, IDistribution.SimpleDistribution) - Constructor for class squidpony.squidmath.DistributedRNG
- distribution - Variable in class squidpony.squidmath.DistributedRNG
- distribution - Variable in class squidpony.squidmath.RandomBias
- disturbance - Variable in class squidpony.squidmath.Noise.Slick2D
- disturbance - Variable in class squidpony.squidmath.Noise.Slick3D
- disturbance - Variable in class squidpony.squidmath.Noise.Slick4D
- disturbance - Variable in class squidpony.squidmath.Noise.Slick6D
- disturbance - Variable in class squidpony.squidmath.Noise.Turbulent2D
- disturbance - Variable in class squidpony.squidmath.Noise.Turbulent3D
- disturbance - Variable in class squidpony.squidmath.Noise.Turbulent4D
- disturbance - Variable in class squidpony.squidmath.Noise.Turbulent6D
- disturbance - Variable in class squidpony.squidmath.Noise.Viny2D
- disturbance - Variable in class squidpony.squidmath.Noise.Viny3D
- disturbance - Variable in class squidpony.squidmath.Noise.Viny4D
- disturbance - Variable in class squidpony.squidmath.Noise.Viny6D
- DiverRNG - Class in squidpony.squidmath
-
A very-high-quality StatefulRandomness that is the fastest 64-bit generator in this library that passes statistical tests and is one-dimensionally equidistributed across all 64-bit outputs.
- DiverRNG() - Constructor for class squidpony.squidmath.DiverRNG
-
Creates a new generator seeded using Math.random.
- DiverRNG(long) - Constructor for class squidpony.squidmath.DiverRNG
- DiverRNG(String) - Constructor for class squidpony.squidmath.DiverRNG
- divide(double) - Method in class squidpony.squidmath.Coord
-
Separately divides the x and y positions of this Coord by operand, flooring to a lower int for each of x and y and producing a different Coord as their "quotient." If operand is 0.0, expect strange results (infinity and NaN are both possibilities).
- divide(double, double) - Method in class squidpony.squidmath.CoordDouble
-
Divides the x component of this CoordDouble by
x
and the y component byy
. - divide(int) - Method in class squidpony.squidmath.Coord
-
Separately divides the x and y positions of this Coord by operand, producing a different Coord as their "quotient." If operand is 0, this will throw an exception, as dividing by 0 is expected to do.
- divide(Coord) - Method in class squidpony.squidmath.Coord
-
Separately divides the x and y positions of this Coord by other, producing a different Coord as their "quotient." If other has 0 for x or y, this will throw an exception, as dividing by 0 is expected to do.
- divide(CoordDouble) - Method in class squidpony.squidmath.CoordDouble
-
Divides the x component of this CoordDouble by
other.x
and the y component byother.y
. - DividedMazeGenerator - Class in squidpony.squidgrid.mapping
-
Recursively divided maze.
- DividedMazeGenerator(int, int) - Constructor for class squidpony.squidgrid.mapping.DividedMazeGenerator
-
Sets up the generator to make mazes the given width and height.
- DividedMazeGenerator(int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.DividedMazeGenerator
-
Sets up the generator to make mazes the given width and height.
- divideRounding(double) - Method in class squidpony.squidmath.Coord
-
Separately divides the x and y positions of this Coord by operand, rounding to the nearest int for each of x and y and producing a different Coord as their "quotient." If operand is 0.0, expect strange results (infinity and NaN are both possibilities).
- done - Variable in class squidpony.squidgrid.iterator.SquidIterators.CenteredSquare
- doorFX - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
Percentage of viable positions to fill with doors, represented by '+' for east-to-west connections or '/' for north-to-south ones; this number will be negative if filling two-cell wide positions but will be made positive when needed.
- DOORS - squidpony.squidgrid.mapping.DungeonGenerator.FillEffect
-
Doors, represented by '+' for east-to-west connections or '/' for north-to-south ones.
- doorways - Variable in class squidpony.squidgrid.mapping.RoomFinder
-
When a RoomFinder is constructed, it stores all points of rooms that are adjacent to another region here.
- dot(double, double, double, double) - Method in class squidpony.squidmath.MitchellNoise.Vec4
- dot(CoordDouble) - Method in class squidpony.squidmath.CoordDouble
-
Gets the dot product of this CoordDouble and
other
. - dot(MitchellNoise.Vec4) - Method in class squidpony.squidmath.MitchellNoise.Vec4
- dotf(float[], float, float) - Static method in class squidpony.squidmath.FastNoise
- dotf(float[], float, float, float) - Static method in class squidpony.squidmath.WhirlingNoise
- DOUBLE_CONSONANTS - Static variable in class squidpony.FakeLanguageGen.Modifier
-
For a language that has a 50% chance to repeat a single consonant.
- DOUBLE_VOWELS - Static variable in class squidpony.FakeLanguageGen.Modifier
-
For a language that has a 40% chance to repeat a single Latin vowel (a, e, o, or a variant on one of them like å or ö, but not merged letters like æ and œ).
- doubleGridToByteArray(double[][]) - Static method in class squidpony.GridCompression
- doubleHasher - Static variable in class squidpony.squidmath.CrossHash
- doubleToByteGrid(double[][]) - Static method in class squidpony.GridCompression
- doubleToByteGrid(double[][], byte[][]) - Static method in class squidpony.GridCompression
- doubleToHighIntBits(double) - Static method in class squidpony.squidmath.NumberTools
-
Converts
value
to a long and gets the upper 32 bits of that long, as an int. - doubleToLongBits(double) - Static method in class squidpony.squidmath.NumberTools
-
Identical to
Double.doubleToLongBits(double)
on desktop; optimized on GWT. - doubleToLowIntBits(double) - Static method in class squidpony.squidmath.NumberTools
-
Converts
value
to a long and gets the lower 32 bits of that long, as an int. - doubleToMixedIntBits(double) - Static method in class squidpony.squidmath.NumberTools
-
Converts
value
to a long and gets the XOR of its upper and lower 32-bit sections. - doubleToRawLongBits(double) - Static method in class squidpony.squidmath.NumberTools
-
Identical to
Double.doubleToLongBits(double)
on desktop (note, notDouble.doubleToRawLongBits(double)
); optimized on GWT. - doubleWidth(char[][]) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
-
Takes a dungeon map with either '#' as the only wall character or the unicode box drawing characters used by hashesToLines(), and returns a new char[][] dungeon map with two characters per cell, mostly filling the spaces next to non-walls with space characters, and only doing anything different if a box-drawing character would continue into an adjacent cell, or if a '#' wall needs another '#' wall next to it.
- Down(int, int, int, int) - Constructor for class squidpony.squidgrid.iterator.SquidIterators.Down
- DOWN - squidpony.squidgrid.Direction
- DOWN_LEFT - squidpony.squidgrid.Direction
- DOWN_RIGHT - squidpony.squidgrid.Direction
- DRAGON - Static variable in class squidpony.FakeLanguageGen
-
Fantasy language that tries to sound like the speech of a powerful and pompous dragon, using long, complex words and a mix of hard consonants like "t" and "k", "liquid" consonants like "l" and "r", and sometimes vowel groups like "ie" and "aa".
- drierValueLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
- drierValueLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
- drierValueUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
- drierValueUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
- driestValueLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
- driestValueLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
- driestValueUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
- driestValueUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
- dryValueLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
- dryValueLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
- dryValueUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
- dryValueUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
- dungeon - Variable in class squidpony.squidai.Technique
- dungeon - Variable in class squidpony.squidgrid.mapping.BasicCaveGenerator
- dungeon - Variable in class squidpony.squidgrid.mapping.ConnectingMapGenerator
- dungeon - Variable in class squidpony.squidgrid.mapping.DungeonGenerator
- dungeon - Variable in class squidpony.squidgrid.mapping.GrowingTreeMazeGenerator
- dungeon - Variable in class squidpony.squidgrid.mapping.MixedGenerator
- dungeon - Variable in class squidpony.squidgrid.mapping.RectangleRoomFinder
- dungeon - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
- DungeonBoneGen - Class in squidpony.squidgrid.mapping.styled
-
Generate a dungeon using Sean T.
- DungeonBoneGen() - Constructor for class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Constructs a DungeonBoneGen that uses a default RNG, randomly seeded.
- DungeonBoneGen(Random) - Constructor for class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Constructs a DungeonBoneGen that uses the given java.util.Random .
- DungeonBoneGen(IRNG) - Constructor for class squidpony.squidgrid.mapping.styled.DungeonBoneGen
-
Constructs a DungeonBoneGen that uses the given IRNG.
- DungeonGenerator - Class in squidpony.squidgrid.mapping
-
The primary way to create a more-complete dungeon, layering different effects and modifications on top of a DungeonBoneGen's dungeon or another dungeon without such effects.
- DungeonGenerator() - Constructor for class squidpony.squidgrid.mapping.DungeonGenerator
-
Make a DungeonGenerator with a GWTRNG using a random seed, height 40, and width 40.
- DungeonGenerator(int, int) - Constructor for class squidpony.squidgrid.mapping.DungeonGenerator
-
Make a DungeonGenerator with the given height and width; a GWTRNG will be used for generating a dungeon and adding features using a random seed.
- DungeonGenerator(int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.DungeonGenerator
-
Make a DungeonGenerator with the given height, width, and RNG.
- DungeonGenerator(DungeonGenerator) - Constructor for class squidpony.squidgrid.mapping.DungeonGenerator
-
Copies all fields from copying and makes a new DungeonGenerator.
- DungeonGenerator.FillEffect - Enum in squidpony.squidgrid.mapping
-
The effects that can be applied to this dungeon.
- dungeonHeight - Variable in class squidpony.squidgrid.mapping.RectangleRoomFinder
- DungeonUtility - Class in squidpony.squidgrid.mapping
-
A static class that can be used to modify the char[][] dungeons that other generators produce.
- DungeonUtility() - Constructor for class squidpony.squidgrid.mapping.DungeonUtility
- DungeonUtility(IRNG) - Constructor for class squidpony.squidgrid.mapping.DungeonUtility
- DungeonUtility(IStatefulRNG) - Constructor for class squidpony.squidgrid.mapping.DungeonUtility
- dungeonWidth - Variable in class squidpony.squidgrid.mapping.RectangleRoomFinder
All Classes|All Packages