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

S

sabnock - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
sabnock - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
sabnock_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
sabnock_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
safeSubstring(String, int, int) - Static method in class squidpony.StringKit
Like String.substring(int, int) but returns "" instead of throwing any sort of Exception.
sallos - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
sallos - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
sallos_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
sallos_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
samigina - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
samigina - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
samigina_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
samigina_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
sampleCircle(Coord, float, float, int, int) - Static method in class squidpony.squidmath.PoissonDisk
Get a list of Coords, each randomly positioned around the given center out to the given radius (measured with Euclidean distance, so a true circle), but with the given minimum distance from any other Coord in the list.
sampleCircle(Coord, float, float, int, int, int, IRNG) - Static method in class squidpony.squidmath.PoissonDisk
Get a list of Coords, each randomly positioned around the given center out to the given radius (measured with Euclidean distance, so a true circle), but with the given minimum distance from any other Coord in the list.
sampleMap(char[][], float, IRNG, Character...) - Static method in class squidpony.squidmath.PoissonDisk
 
sampleMap(Coord, Coord, char[][], float, IRNG, Character...) - Static method in class squidpony.squidmath.PoissonDisk
 
sampleRectangle(Coord, Coord, float, int, int) - Static method in class squidpony.squidmath.PoissonDisk
Get a list of Coords, each randomly positioned within the rectangle between the given minPosition and maxPosition, but with the given minimum distance from any other Coord in the list.
sampleRectangle(Coord, Coord, float, int, int, int, IRNG) - Static method in class squidpony.squidmath.PoissonDisk
Get a list of Coords, each randomly positioned within the rectangle between the given minPosition and maxPosition, but with the given minimum distance from any other Coord in the list.
samples - Static variable in class squidpony.squidgrid.MimicFill
 
sampleToMap(boolean[][], char, char) - Static method in class squidpony.squidgrid.MimicFill
Comverts a 2D boolean array to a 2D char array, where false means the parameter no and true the parameter yes.
sampleToMap(boolean[], int, int, char, char) - Static method in class squidpony.squidgrid.MimicFill
Comverts a 2D boolean array to a 2D char array, where false means the parameter no and true the parameter yes.
sandLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
sandUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
sanityChecks - Variable in class squidpony.FakeLanguageGen
 
saturate(T, float) - Method in interface squidpony.IColorCenter
Saturates color (makes it closer to a vivid color like red or green and less gray) by the specified degree and returns the new color (saturated somewhat).
saturate(T, float) - Method in class squidpony.IColorCenter.Skeleton
Saturates color (makes it closer to a vivid color like red or green and less gray) by the specified degree and returns the new color (saturated somewhat).
saturated(T) - Method in interface squidpony.IColorCenter
Fully saturates color (makes it a vivid color like red or green and less gray) and returns the modified copy.
saturated(T) - Method in class squidpony.IColorCenter.Skeleton
Fully saturates color (makes it a vivid color like red or green and less gray) and returns the modified copy.
scale(int) - Method in class squidpony.squidmath.Coord
 
scale(int, int) - Method in class squidpony.squidmath.Coord
 
SCALE - Static variable in class squidpony.squidmath.PerlinNoise
This class simply calls methods from ClassicNoise and multiplies the inputs by 0.11709966304863834, or 1.0 / Math.E / Math.PI.
Scaled1D() - Constructor for class squidpony.squidmath.Noise.Scaled1D
 
Scaled1D(Noise.Noise1D) - Constructor for class squidpony.squidmath.Noise.Scaled1D
 
Scaled1D(Noise.Noise1D, double) - Constructor for class squidpony.squidmath.Noise.Scaled1D
 
Scaled2D() - Constructor for class squidpony.squidmath.Noise.Scaled2D
 
Scaled2D(Noise.Noise2D) - Constructor for class squidpony.squidmath.Noise.Scaled2D
 
Scaled2D(Noise.Noise2D, double) - Constructor for class squidpony.squidmath.Noise.Scaled2D
 
Scaled2D(Noise.Noise2D, double, double) - Constructor for class squidpony.squidmath.Noise.Scaled2D
 
Scaled3D() - Constructor for class squidpony.squidmath.Noise.Scaled3D
 
Scaled3D(Noise.Noise3D) - Constructor for class squidpony.squidmath.Noise.Scaled3D
 
Scaled3D(Noise.Noise3D, double) - Constructor for class squidpony.squidmath.Noise.Scaled3D
 
Scaled3D(Noise.Noise3D, double, double, double) - Constructor for class squidpony.squidmath.Noise.Scaled3D
 
Scaled4D() - Constructor for class squidpony.squidmath.Noise.Scaled4D
 
Scaled4D(Noise.Noise4D) - Constructor for class squidpony.squidmath.Noise.Scaled4D
 
Scaled4D(Noise.Noise4D, double) - Constructor for class squidpony.squidmath.Noise.Scaled4D
 
Scaled4D(Noise.Noise4D, double, double, double, double) - Constructor for class squidpony.squidmath.Noise.Scaled4D
 
Scaled6D() - Constructor for class squidpony.squidmath.Noise.Scaled6D
 
Scaled6D(Noise.Noise6D) - Constructor for class squidpony.squidmath.Noise.Scaled6D
 
Scaled6D(Noise.Noise6D, double) - Constructor for class squidpony.squidmath.Noise.Scaled6D
 
Scaled6D(Noise.Noise6D, double, double, double, double, double, double) - Constructor for class squidpony.squidmath.Noise.Scaled6D
 
scaleU - Variable in class squidpony.squidmath.Noise.Scaled6D
 
scaleV - Variable in class squidpony.squidmath.Noise.Scaled6D
 
scaleW - Variable in class squidpony.squidmath.Noise.Scaled4D
 
scaleW - Variable in class squidpony.squidmath.Noise.Scaled6D
 
scaleX - Variable in class squidpony.squidmath.Noise.Scaled1D
 
scaleX - Variable in class squidpony.squidmath.Noise.Scaled2D
 
scaleX - Variable in class squidpony.squidmath.Noise.Scaled3D
 
scaleX - Variable in class squidpony.squidmath.Noise.Scaled4D
 
scaleX - Variable in class squidpony.squidmath.Noise.Scaled6D
 
scaleY - Variable in class squidpony.squidmath.Noise.Scaled2D
 
scaleY - Variable in class squidpony.squidmath.Noise.Scaled3D
 
scaleY - Variable in class squidpony.squidmath.Noise.Scaled4D
 
scaleY - Variable in class squidpony.squidmath.Noise.Scaled6D
 
scaleZ - Variable in class squidpony.squidmath.Noise.Scaled3D
 
scaleZ - Variable in class squidpony.squidmath.Noise.Scaled4D
 
scaleZ - Variable in class squidpony.squidmath.Noise.Scaled6D
 
scan() - Method in class squidpony.squidai.DijkstraMap
Recalculate the Dijkstra map and return it.
scan() - Method in class squidpony.squidgrid.SoundMap
Recalculate the sound map and return it.
scan(int, int[]) - Method in class squidpony.squidai.CustomDijkstraMap
Recalculate the CustomDijkstra map and return it.
scan(Collection<Coord>) - Method in class squidpony.squidai.DijkstraMap
Recalculate the Dijkstra map and return it.
scan(Collection<Coord>, int) - Method in class squidpony.squidai.DijkstraMap
Recalculate the Dijkstra map for a creature that is potentially larger than 1x1 cell and return it.
scan(Coord, Collection<Coord>) - Method in class squidpony.squidai.DijkstraMap
Recalculate the Dijkstra map and return it.
scan(Coord, Collection<Coord>, boolean) - Method in class squidpony.squidai.DijkstraMap
Recalculate the Dijkstra map and return it.
scan(Coord, Collection<Coord>, int) - Method in class squidpony.squidai.DijkstraMap
Recalculate the Dijkstra map for a creature that is potentially larger than 1x1 cell and return it.
scan(IntVLA) - Method in class squidpony.squidai.CustomDijkstraMap
Recalculate the CustomDijkstra map and return it.
scanInternal(int, int[], int) - Method in class squidpony.squidai.CustomDijkstraMap
 
scanLarge(int, int, int[]) - Method in class squidpony.squidai.CustomDijkstraMap
Recalculate the CustomDijkstra map for a creature that is potentially larger than 1x1 cell and return it.
scanLarge(int, IntVLA) - Method in class squidpony.squidai.CustomDijkstraMap
Recalculate the CustomDijkstra map for a creature that is potentially larger than 1x1 cell and return it.
scanLargeInternal(int, int, int[], int) - Method in class squidpony.squidai.CustomDijkstraMap
 
scanToStart(int, int, int[]) - Method in class squidpony.squidai.CustomDijkstraMap
Recalculate the CustomDijkstra map, stopping early if it has a path from a goal to start, and return that map.
scanToStart(int, IntVLA) - Method in class squidpony.squidai.CustomDijkstraMap
Recalculate the CustomDijkstra map, stopping early if it has a path from a goal to start, and return that map.
scanToStartLarge(int, int, int, int[]) - Method in class squidpony.squidai.CustomDijkstraMap
Recalculate the CustomDijkstra map for a creature that is potentially larger than 1x1 cell and return it.
scanToStartLarge(int, int, IntVLA) - Method in class squidpony.squidai.CustomDijkstraMap
Recalculate the CustomDijkstra map for a creature that is potentially larger than 1x1 cell and return it.
SCREEN - Static variable in class squidpony.SquidTags
Use this tag when logging things about screens or the context of gameplay changing.
SEA_LEVEL - Static variable in class squidpony.squidgrid.mapping.MetsaMapFactory
 
seamless1D(Noise.Noise2D, double, double, long) - Static method in class squidpony.squidmath.Noise
Like Noise.seamless2D(double[][], long, int, Noise4D), but this produces 1D noise that "tiles" by repeating its output every sizeX units that x increases or decreases by.
seamless2D(double[][], int, int) - Static method in class squidpony.squidmath.Noise
Fills the given 2D array (modifying it) with noise, using values from -1.0 to 1.0, that is seamless on all boundaries.
seamless2D(double[][], long, int, Noise.Noise4D) - Static method in class squidpony.squidmath.Noise
Fills the given 2D array (modifying it) with noise, using values from -1.0 to 1.0, that is seamless on all boundaries.
seamless2D(int, int, int, int) - Static method in class squidpony.squidmath.Noise
Produces a 2D array of noise with values from -1.0 to 1.0 that is seamless on all boundaries.
seamless2D(Noise.Noise4D, double, double, double, double, long) - Static method in class squidpony.squidmath.Noise
Like Noise.seamless2D(double[][], long, int, Noise4D), but this doesn't precalculate noise into an array, instead calculating just one 2D point so that later calls with different x or y will tile seamlessly.
seamless3D(double[][][], long, int) - Static method in class squidpony.squidmath.Noise
Fills the given 3D array (modifying it) with noise, using values from -1.0 to 1.0, that is seamless on all boundaries.
seamless3D(double[][][], long, int, Noise.Noise6D) - Static method in class squidpony.squidmath.Noise
Fills the given 3D array (modifying it) with noise, using values from -1.0 to 1.0, that is seamless on all boundaries.
seamless3D(float[][][], long, int) - Static method in class squidpony.squidmath.Noise
Fills the given 3D array (modifying it) with noise, using values from -1.0 to 1.0, that is seamless on all boundaries.
seamless3D(int, int, int, long, int) - Static method in class squidpony.squidmath.Noise
Produces a 3D array of noise with values from -1.0 to 1.0 that is seamless on all boundaries.
seamless3D(Noise.Noise6D, double, double, double, double, double, double, long) - Static method in class squidpony.squidmath.Noise
Like Noise.seamless3D(double[][][], long, int, Noise6D), but this doesn't precalculate noise into an array, instead calculating just one 3D point so that later calls with different x, y, or z will tile seamlessly.
SECOND_PERSON_PLURAL - squidpony.Messaging.NounTrait
As in, "You are your own bosses." Doesn't reference gender, and applies to groups.
SECOND_PERSON_SINGULAR - squidpony.Messaging.NounTrait
As in, "You are your own boss." Doesn't reference gender.
SectionDungeonGenerator - Class in squidpony.squidgrid.mapping
A good way to create a more-complete dungeon, layering different effects and modifications on top of a dungeon produced by DungeonBoneGen or another dungeon without such effects.
SectionDungeonGenerator() - Constructor for class squidpony.squidgrid.mapping.SectionDungeonGenerator
Make a SectionDungeonGenerator with a LightRNG using a random seed, height 40, and width 40.
SectionDungeonGenerator(int, int) - Constructor for class squidpony.squidgrid.mapping.SectionDungeonGenerator
Make a SectionDungeonGenerator with the given height and width; the RNG used for generating a dungeon and adding features will be a LightRNG using a random seed.
SectionDungeonGenerator(int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.SectionDungeonGenerator
Make a SectionDungeonGenerator with the given height, width, and RNG.
SectionDungeonGenerator(SectionDungeonGenerator) - Constructor for class squidpony.squidgrid.mapping.SectionDungeonGenerator
Copies all fields from copying and makes a new DungeonGenerator.
SectionDungeonGenerator.FillEffect - Enum in squidpony.squidgrid.mapping
The effects that can be applied to this dungeon.
SectionMap - Class in squidpony.squidgrid.mapping
A Map-like collection that allows storing subdivisions of a 2D array with names (always Strings) and identifying numbers, then looking up Coords to find the associated name and/or number, or or looking up a subdivision with a name or number to get a GreasedRegion back.
SectionMap() - Constructor for class squidpony.squidgrid.mapping.SectionMap
This shouldn't usually be used unless you for some reason need to construct a SectionMap before you have access to a dungeon for it to map.
SectionMap(RoomFinder) - Constructor for class squidpony.squidgrid.mapping.SectionMap
The preferred constructor; takes a RoomFinder (often one already created in dungeon generation and available via SectionDungeonGenerator.finder) and uses it to give unique String names and identifying numbers to each room, corridor, and cave area that had been identified by that RoomFinder.
SectionMap(SectionMap) - Constructor for class squidpony.squidgrid.mapping.SectionMap
Copy constructor; takes an already-initialized SectionMap and deep-copies each element into this one.
seed - Variable in class squidpony.squidmath.ClassicNoise
 
seed - Variable in class squidpony.squidmath.CosmicNumbering
 
seed - Variable in class squidpony.squidmath.FoamNoise
 
seed - Variable in class squidpony.squidmath.JitterNoise
 
seed - Variable in class squidpony.squidmath.MerlinNoise
 
seed - Variable in class squidpony.squidmath.MitchellNoise
 
seed - Variable in class squidpony.squidmath.Noise.QuilezNoise
 
seed - Variable in class squidpony.squidmath.Noise.Sway1D
 
seed - Variable in class squidpony.squidmath.Noise.Sway2D
 
seed - Variable in class squidpony.squidmath.ShuffledIntSequence
 
seed - Variable in class squidpony.squidmath.ValueNoise
 
seed(int) - Method in class squidpony.squidmath.BasicRandom64
Seeds the state using all bits of the given int s.
seed(int) - Method in class squidpony.squidmath.MiniMover64RNG
Seeds the state using all bits of the given int s.
seedA - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
seedB - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
SeededNoise - Class in squidpony.squidmath
More advanced noise functions, in 2D, 3D, 4D, and 6D, with the last two as options for generating seamlessly-tiling noise using Noise.seamless2D(double[][], long, int, Noise.Noise4D) and/or Noise.seamless3D(double[][][], long, int, Noise.Noise6D).
SeededNoise() - Constructor for class squidpony.squidmath.SeededNoise
 
SeededNoise(long) - Constructor for class squidpony.squidmath.SeededNoise
 
seedFixed - Variable in class squidpony.squidgrid.mapping.DungeonGenerator
 
seedFixed - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
 
seen - Variable in class squidpony.squidai.graph.Node
Internal; tracking bit for whether this Node has been checked during the current algorithm.
seere - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
seere - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
seere_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
seere_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
sentence() - Method in class squidpony.FakeLanguageGen.SentenceForm
 
sentence(int, int) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen, using and changing the current seed, with the length in words between minWords and maxWords, both inclusive.
sentence(int, int, String[], String[], double) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen, using and changing the current seed.
sentence(int, int, String[], String[], double, int) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen that fits in the given length limit.
sentence(long, int, int) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen, using the given seed as a long, with the length in words between minWords and maxWords, both inclusive.
sentence(long, int, int, String[], String[], double) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen, using the given seed as a long.
sentence(long, int, int, String[], String[], double, int) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen that fits in the given length limit, using the given seed as a long.
sentence(IRNG, int, int) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen, using the given RNG, with the length in words between minWords and maxWords, both inclusive.
sentence(IRNG, int, int, String[], String[], double) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen using the specific RNG.
sentence(IRNG, int, int, String[], String[], double, int) - Method in class squidpony.FakeLanguageGen
Generate a sentence from this FakeLanguageGen using the given RNG that fits in the given length limit.
sentenceCase(CharSequence) - Static method in class squidpony.StringKit
Attempts to scan for sentences in original, capitalizes the first letter of each sentence, and otherwise leaves the CharSequence untouched as it returns it as a String.
SentenceForm() - Constructor for class squidpony.FakeLanguageGen.SentenceForm
Builds a SentenceForm with all default fields, using FakeLanguageGen.FANTASY_NAME for a language, using between 1 and 9 words in a sentence, and otherwise defaulting to how SentenceForm(FakeLanguageGen, int, int) behaves.
SentenceForm(FakeLanguageGen, int, int) - Constructor for class squidpony.FakeLanguageGen.SentenceForm
Builds a SentenceForm with only a few fields specified.
SentenceForm(FakeLanguageGen, int, int, String[], String[], double) - Constructor for class squidpony.FakeLanguageGen.SentenceForm
Builds a SentenceForm with all fields specified except for FakeLanguageGen.SentenceForm.rng, which will be made based on FakeLanguageGen's static FakeLanguageGen.srng field, and maxChars, which means the sentence length will be limited only by maxWords and the length of words produced.
SentenceForm(FakeLanguageGen, int, int, String[], String[], double, int) - Constructor for class squidpony.FakeLanguageGen.SentenceForm
Builds a SentenceForm with all fields specified except for FakeLanguageGen.SentenceForm.rng, which will be made based on FakeLanguageGen's static FakeLanguageGen.srng field.
SentenceForm(FakeLanguageGen, IStatefulRNG, int, int, String[], String[], double, int) - Constructor for class squidpony.FakeLanguageGen.SentenceForm
Builds a SentenceForm with all fields specified; each value is referenced directly except for rng, which will not change or be directly referenced (a new GWTRNG will be used with the same state value).
separated(int) - 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 Coord in each chunk is kept and the others are discarded.
separatedBlue(double) - Method in class squidpony.squidmath.GreasedRegion
Gets a Coord array from the "on" contents of this GreasedRegion, using a quasi-random scattering of chosen cells with a count that matches the given fraction of the total amount of "on" cells in this.
separatedBlue(double, int) - Method in class squidpony.squidmath.GreasedRegion
Gets a Coord array from the "on" contents of this GreasedRegion, using a quasi-random scattering of chosen cells with a count that matches the given fraction of the total amount of "on" cells in this.
separatedPortion(double) - Method in class squidpony.squidmath.GreasedRegion
separatedRegionBlue(double) - Method in class squidpony.squidmath.GreasedRegion
Modifies this GreasedRegion so it contains a quasi-random subset of its previous contents, choosing cells so that the GreasedRegion.size() matches the given fraction of the total amount of "on" cells in this.
separatedRegionBlue(double, int) - Method in class squidpony.squidmath.GreasedRegion
Modifies this GreasedRegion so it contains a quasi-random subset of its previous contents, choosing cells so that the GreasedRegion.size() matches the given fraction of the total amount of "on" cells in this.
separatedRegionZCurve(double) - Method in class squidpony.squidmath.GreasedRegion
Modifies this GreasedRegion so it contains a quasi-random subset of its previous contents, choosing cells so that the GreasedRegion.size() matches the given fraction of the total amount of "on" cells in this.
separatedRegionZCurve(double, int) - Method in class squidpony.squidmath.GreasedRegion
Modifies this GreasedRegion so it contains a quasi-random subset of its previous contents, choosing cells so that the GreasedRegion.size() matches the given fraction of the total amount of "on" cells in this.
separatedZCurve(double) - Method in class squidpony.squidmath.GreasedRegion
Gets a Coord array from the "on" contents of this GreasedRegion, using a quasi-random scattering of chosen cells with a count that matches the given fraction of the total amount of "on" cells in this.
separatedZCurve(double, int) - Method in class squidpony.squidmath.GreasedRegion
Gets a Coord array from the "on" contents of this GreasedRegion, using a quasi-random scattering of chosen cells with a count that matches the given fraction of the total amount of "on" cells in this.
serializeToString() - Method in class squidpony.FakeLanguageGen.Alteration
 
serializeToString() - Method in class squidpony.FakeLanguageGen.Modifier
 
serializeToString() - Method in class squidpony.FakeLanguageGen.SentenceForm
 
serializeToString() - Method in class squidpony.FakeLanguageGen
 
serializeToString() - Method in class squidpony.MarkovChar
Returns a representation of this MarkovText as a String; use MarkovChar.deserializeFromString(String) to get a MarkovText back from this String.
serializeToString() - Method in class squidpony.MarkovText
Returns a representation of this MarkovText as a String; use MarkovText.deserializeFromString(String) to get a MarkovText back from this String.
serializeToString() - Method in class squidpony.MarkovTextLimited
Returns a representation of this MarkovTextLimited as a String; use MarkovTextLimited.deserializeFromString(String) to get a MarkovTextLimited back from this String.
serializeToString() - Method in class squidpony.ObText
 
serializeToString() - Method in class squidpony.squidmath.GreasedRegion
 
serializeToString() - Method in class squidpony.squidmath.WeightedTable
 
SerpentDeepMapGenerator - Class in squidpony.squidgrid.mapping
Generate dungeons based on a random, winding, looping path through 3D space, requiring a character to move up and down as well as north/south/east/west to get through the dungeon.
SerpentDeepMapGenerator(int, int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.SerpentDeepMapGenerator
This prepares a map generator that will generate a map with the given width, height and depth, using the given IRNG.
SerpentDeepMapGenerator(int, int, int, IRNG, double) - Constructor for class squidpony.squidgrid.mapping.SerpentDeepMapGenerator
This prepares a map generator that will generate a map with the given width, height and depth, using the given IRNG, and will branch out to other nearby rooms that (probably) do not have staircases between layers.
SerpentMapGenerator - Class in squidpony.squidgrid.mapping
Generate dungeons based on a random, winding, looping path through 2D space.
SerpentMapGenerator(int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.SerpentMapGenerator
This prepares a map generator that will generate a map with the given width and height, using the given IRNG.
SerpentMapGenerator(int, int, IRNG, boolean) - Constructor for class squidpony.squidgrid.mapping.SerpentMapGenerator
This prepares a map generator that will generate a map with the given width and height, using the given IRNG.
SerpentMapGenerator(int, int, IRNG, double) - Constructor for class squidpony.squidgrid.mapping.SerpentMapGenerator
This prepares a map generator that will generate a map with the given width and height, using the given IRNG.
SerpentMapGenerator(int, int, IRNG, double, boolean) - Constructor for class squidpony.squidgrid.mapping.SerpentMapGenerator
This prepares a map generator that will generate a map with the given width and height, using the given IRNG.
set(boolean, int, int) - Method in class squidpony.squidmath.GreasedRegion
Sets the cell at x,y to on if value is true or off if value is false.
set(boolean, Coord) - Method in class squidpony.squidmath.GreasedRegion
Sets the cell at point to on if value is true or off if value is false.
set(double, double) - Method in class squidpony.squidmath.CoordDouble
 
set(int, int) - Method in class squidpony.squidmath.IntVLA
 
set(int, short) - Method in class squidpony.squidmath.ShortVLA
 
set(Double) - Method in class squidpony.squidmath.IntDoubleOrderedMap.ValueIterator
 
set(Integer) - Method in class squidpony.squidmath.Arrangement.ValueIterator
 
set(Integer) - Method in class squidpony.squidmath.IntDoubleOrderedMap.KeyIterator
 
set(Integer) - Method in class squidpony.squidmath.IntIntOrderedMap.KeyIterator
 
set(Integer) - Method in class squidpony.squidmath.IntIntOrderedMap.ValueIterator
 
set(K) - Method in class squidpony.squidmath.Arrangement.KeyIterator
 
set(K) - Method in class squidpony.squidmath.OrderedMap.KeyIterator
 
set(Node<V>, Node<V>, float) - Method in class squidpony.squidai.graph.Connection
 
set(Node<V>, Node<V>, float) - Method in class squidpony.squidai.graph.Edge
 
set(Arrangement.MapEntry) - Method in class squidpony.squidmath.Arrangement.FastEntryIterator
 
set(CoordDouble) - Method in class squidpony.squidmath.CoordDouble
 
set(IntDoubleOrderedMap.MapEntry) - Method in class squidpony.squidmath.IntDoubleOrderedMap.FastEntryIterator
 
set(IntIntOrderedMap.MapEntry) - Method in class squidpony.squidmath.IntIntOrderedMap.FastEntryIterator
 
set(V) - Method in class squidpony.squidmath.OrderedMap.ValueIterator
 
setAngle(double) - Method in class squidpony.squidai.ConeAOE
 
setBits(int) - Method in class squidpony.squidmath.MerlinNoise
Sets the number of bits this will output; 8 is common to produce byte-sized values between 0 and 255.
setBlockingRequirement(int) - Method in class squidpony.squidai.DijkstraMap
If you want obstacles present in orthogonal cells to prevent pathfinding along the diagonal between them, this can be used to make thin diagonal walls non-viable to move through, or even to prevent diagonal movement if any one obstacle is orthogonally adjacent to both the start and target cell of a diagonal move.
setCacheLevel(int) - Method in class squidpony.NaturalLanguageCipher
 
setCellularDistanceFunction(int) - Method in class squidpony.squidmath.FastNoise
Sets the distance function used in cellular noise calculations, allowing an int argument corresponding to one of the following constants from this class: FastNoise.EUCLIDEAN (0), FastNoise.MANHATTAN (1), or FastNoise.NATURAL (2).
setCellularNoiseLookup(FastNoise) - Method in class squidpony.squidmath.FastNoise
Sets the FastNoise used to calculate a cell value if cellular return type is FastNoise.NOISE_LOOKUP.
setCellularReturnType(int) - Method in class squidpony.squidmath.FastNoise
Sets the return type from cellular noise calculations, allowing an int argument corresponding to one of the following constants from this class: FastNoise.CELL_VALUE (0), FastNoise.NOISE_LOOKUP (1), FastNoise.DISTANCE (2), FastNoise.DISTANCE_2 (3), FastNoise.DISTANCE_2_ADD (4), FastNoise.DISTANCE_2_SUB (5), FastNoise.DISTANCE_2_MUL (6), or FastNoise.DISTANCE_2_DIV (7).
setCenter(Coord) - Method in class squidpony.squidai.BlastAOE
 
setCenter(Coord) - Method in class squidpony.squidai.BurstAOE
 
setCenter(Coord) - Method in class squidpony.squidai.CloudAOE
 
setCenter(Coord) - Method in class squidpony.squidai.PointAOE
 
setCenterLongitude(double) - Method in class squidpony.squidgrid.mapping.WorldMapGenerator.RotatingSpaceMap
 
setCenterLongitude(double) - Method in class squidpony.squidgrid.mapping.WorldMapGenerator
Sets the center longitude line to a longitude measured in radians, from 0 to 2 * PI.
setCentrality(double) - Method in class squidpony.squidmath.EditRNG
Gets the current centrality measure of this EditRNG.
setCentrality(long) - Method in class squidpony.squidmath.TweakRNG
Adjusts the central bias of this TweakRNG, often to positive numbers (which bias toward the center of the range), but also often to negative numbers (which bias toward extreme values, though still within the range).
setColor(T) - Method in class squidpony.panel.IColoredString.Bucket
 
setColor(T) - Method in class squidpony.panel.IColoredString.Impl
 
setColor(T) - Method in interface squidpony.panel.IColoredString
Set color in all buckets.
setConnections(double[]) - Method in class squidpony.squidmath.CosmicNumbering
 
setCoords(Coord...) - Method in class squidpony.squidmath.Region
Changes this Region to include the given Coords and disregard its previous contents.
setCost(int, int) - Method in class squidpony.squidai.CustomDijkstraMap
Marks a cell's type for pathfinding cost as tile (it still will look up the tile in the Adjacency.costRules field of CustomDijkstraMap.adjacency when it tries to move through one), unless the cell is a wall or unreachable area (then it always sets the cost to a value that should have the same cost as a wall).
setCost(int, int, double) - Method in class squidpony.squidai.DijkstraMap
Marks a cell's cost for pathfinding as cost, unless the cell is a wall or unreachable area (then it always sets the cost to the value of the WALL field).
setCost(Coord, double) - Method in class squidpony.squidai.DijkstraMap
Marks a cell's cost for pathfinding as cost, unless the cell is a wall or unreachable area (then it always sets the cost to the value of the WALL field).
setDegree(int) - Method in class squidpony.squidmath.CurvedBoundedDistribution
 
setDungeon(char[][]) - Method in class squidpony.squidgrid.mapping.DungeonGenerator
Change the underlying char[][]; only affects the toString method, and of course getDungeon.
setDungeon(char[][]) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
Change the underlying char[][]; only affects the toString method, and of course getDungeon.
setDungeon(char[][]) - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
Change the stored char[][] dungeon, using x,y indexing.
setEnd(Coord) - Method in class squidpony.squidai.BeamAOE
 
setEnd(Coord) - Method in class squidpony.squidai.LineAOE
 
setEndCenter(Coord) - Method in class squidpony.squidai.ConeAOE
 
setEnvironment(int[][]) - Method in class squidpony.squidgrid.mapping.ModularMapGenerator
Sets the environment int 2D array.
setExpanding(boolean) - Method in class squidpony.squidai.CloudAOE
 
setExpected(double) - Method in class squidpony.squidmath.EditRNG
Sets the expected average for random doubles this produces, which must always be between 0.1 and 0.9, and will be set to 0.5 if an invalid value is passed.
setExponent(double, int) - Static method in class squidpony.squidmath.NumberTools
Makes a modified version of value that uses the specified bits (up to 12) for its exponent and sign.
setFairness(double) - Method in class squidpony.squidmath.DharmaRNG
Sets the measure that this class uses for RNG fairness, which must always be between 0.0 and 1.0, and will be set to 0.54 if an invalid value is passed.
setFavor(long) - Method in class squidpony.squidmath.TweakRNG
Adjusts the value bias of this TweakRNG, often to positive numbers (which bias toward higher results), but also often to negative numbers (which bias toward lower results).
setFilter(IFilter<T>) - Method in class squidpony.IColorCenter.Skeleton
If you're changing the filter, you should likely call IColorCenter.Skeleton.clearCache().
setFixedRooms(boolean[][]) - Method in class squidpony.squidgrid.mapping.MixedGenerator
 
setFractalGain(float) - Method in class squidpony.squidmath.FastNoise
Sets the octave gain for all fractal noise types.
setFractalLacunarity(float) - Method in class squidpony.squidmath.FastNoise
Sets the octave lacunarity for all fractal noise types.
setFractalOctaves(int) - Method in class squidpony.squidmath.FastNoise
Sets the octave count for all fractal noise types.
setFractalType(int) - Method in class squidpony.squidmath.FastNoise
Sets the method for combining octaves in all fractal noise types, allowing an int argument corresponding to one of the following constants from this class: FastNoise.FBM (0), FastNoise.BILLOW (1), or FastNoise.RIDGED_MULTI (2).
setFrequency(float) - Method in class squidpony.squidmath.FastNoise
Sets the frequency for all noise types.
setFresh(int, double) - Method in class squidpony.squidai.CustomDijkstraMap
 
setFresh(int, int) - Method in class squidpony.squidgrid.Spill
Used internally to mark a cell as just-now being expanded from.
setFresh(int, int, double) - Method in class squidpony.squidgrid.SoundMap
 
setFresh(int, int, int) - Method in class squidpony.squidgrid.MultiSpill
 
setFresh(int, Coord) - Method in class squidpony.squidgrid.MultiSpill
 
setFresh(Coord) - Method in class squidpony.squidgrid.Spill
Used internally to mark a cell as just-now being expanded from.
setFresh(Coord, double) - Method in class squidpony.squidgrid.SoundMap
 
setGoal(int) - Method in class squidpony.squidai.CustomDijkstraMap
Marks a cell as a goal for pathfinding, unless the cell is a wall or unreachable area (then it does nothing).
setGoal(int, int) - Method in class squidpony.squidai.DijkstraMap
Marks a cell as a goal for pathfinding, unless the cell is a wall or unreachable area (then it does nothing).
setGoal(Coord) - Method in class squidpony.squidai.DijkstraMap
Marks a cell as a goal for pathfinding, unless the cell is a wall or unreachable area (then it does nothing).
setGoals(Iterable<Coord>) - Method in class squidpony.squidai.DijkstraMap
Marks many cells as goals for pathfinding, ignoring cells in walls or unreachable areas.
setGoals(Coord[]) - Method in class squidpony.squidai.DijkstraMap
Marks many cells as goals for pathfinding, ignoring cells in walls or unreachable areas.
setGoals(GreasedRegion) - Method in class squidpony.squidai.DijkstraMap
Marks many cells as goals for pathfinding, ignoring cells in walls or unreachable areas.
setGradientPerturbAmp(float) - Method in class squidpony.squidmath.FastNoise
setHeight(int) - Method in class squidpony.squidgrid.mapping.OrganicMapGenerator
 
setInfluences(Coord[][]) - Method in class squidpony.squidai.GreasedZOI
Changes the influencing groups.
setInfluences(Coord[][]) - Method in class squidpony.squidai.ZOI
Changes the influencing groups.
setInterpolation(int) - Method in class squidpony.squidmath.FastNoise
Changes the interpolation method used to smooth between noise values, using on of the following constants from this class (lowest to highest quality): FastNoise.LINEAR (0), FastNoise.HERMITE (1), or FastNoise.QUINTIC (2).
setLambda(double) - Method in class squidpony.squidmath.ExponentialDistribution
 
setLength(int) - Method in class squidpony.panel.IColoredString.Bucket
 
setLength(int) - Method in class squidpony.panel.IColoredString.Impl
 
setLength(int) - Method in interface squidpony.panel.IColoredString
Deletes all content after index len (if any).
setLimitType(AimLimit) - Method in interface squidpony.squidai.AOE
You can use limitType to restrict any Points that might be processed based on the given origin (which will be used as the geometric origin for any calculations this makes) with AimLimit values having the following meanings: AimLimit.FREE makes no restrictions; it is equivalent here to passing null for limit. AimLimit.EIGHT_WAY will only consider Points to be valid targets if they are along a straight line with an angle that is a multiple of 45 degrees, relative to the positive x axis.
setLimitType(AimLimit) - Method in class squidpony.squidai.BeamAOE
 
setLimitType(AimLimit) - Method in class squidpony.squidai.BlastAOE
 
setLimitType(AimLimit) - Method in class squidpony.squidai.BurstAOE
 
setLimitType(AimLimit) - Method in class squidpony.squidai.CloudAOE
 
setLimitType(AimLimit) - Method in class squidpony.squidai.ConeAOE
 
setLimitType(AimLimit) - Method in class squidpony.squidai.LineAOE
 
setLimitType(AimLimit) - Method in class squidpony.squidai.PointAOE
 
setMap(char[][]) - Method in interface squidpony.squidai.AOE
This must be called before any other methods, and takes a char[][] with '#' for walls, anything else for floors.
setMap(char[][]) - Method in class squidpony.squidai.BeamAOE
 
setMap(char[][]) - Method in class squidpony.squidai.BlastAOE
 
setMap(char[][]) - Method in class squidpony.squidai.BurstAOE
 
setMap(char[][]) - Method in class squidpony.squidai.CloudAOE
 
setMap(char[][]) - Method in class squidpony.squidai.ConeAOE
 
setMap(char[][]) - Method in class squidpony.squidai.LineAOE
 
setMap(char[][]) - Method in class squidpony.squidai.PointAOE
 
setMap(char[][]) - Method in class squidpony.squidai.Technique
VITAL: Call this method before any calls to idealLocations() or apply(), and call it again if the map changes.
setMap(char[][]) - Method in class squidpony.squidgrid.mapping.ModularMapGenerator
Change the underlying char[][]; only affects the toString method, and of course getMap
setMaxRange(int) - Method in interface squidpony.squidai.AOE
The maximum inclusive range that the AOE can be shift()-ed to using the distance measurement from radiusType.
setMaxRange(int) - Method in class squidpony.squidai.BeamAOE
 
setMaxRange(int) - Method in class squidpony.squidai.BlastAOE
 
setMaxRange(int) - Method in class squidpony.squidai.BurstAOE
 
setMaxRange(int) - Method in class squidpony.squidai.CloudAOE
 
setMaxRange(int) - Method in class squidpony.squidai.ConeAOE
 
setMaxRange(int) - Method in class squidpony.squidai.LineAOE
 
setMaxRange(int) - Method in class squidpony.squidai.PointAOE
 
setMetric(Radius) - Method in interface squidpony.squidai.AOE
Used to determine distance from origin for the purposes of selecting a target location that is within the bounds of minRange and maxRange.
setMetric(Radius) - Method in class squidpony.squidai.BeamAOE
 
setMetric(Radius) - Method in class squidpony.squidai.BlastAOE
 
setMetric(Radius) - Method in class squidpony.squidai.BurstAOE
 
setMetric(Radius) - Method in class squidpony.squidai.CloudAOE
 
setMetric(Radius) - Method in class squidpony.squidai.ConeAOE
 
setMetric(Radius) - Method in class squidpony.squidai.LineAOE
 
setMetric(Radius) - Method in class squidpony.squidai.PointAOE
 
setMinRange(int) - Method in interface squidpony.squidai.AOE
The minimum inclusive range that the AOE can be shift()-ed to using the distance measurement from radiusType.
setMinRange(int) - Method in class squidpony.squidai.BeamAOE
 
setMinRange(int) - Method in class squidpony.squidai.BlastAOE
 
setMinRange(int) - Method in class squidpony.squidai.BurstAOE
 
setMinRange(int) - Method in class squidpony.squidai.CloudAOE
 
setMinRange(int) - Method in class squidpony.squidai.ConeAOE
 
setMinRange(int) - Method in class squidpony.squidai.LineAOE
 
setMinRange(int) - Method in class squidpony.squidai.PointAOE
 
setNoiseMax(double) - Method in class squidpony.squidgrid.mapping.OrganicMapGenerator
 
setNoiseMin(double) - Method in class squidpony.squidgrid.mapping.OrganicMapGenerator
 
setNoiseType(int) - Method in class squidpony.squidmath.FastNoise
setOccupied(int) - Method in class squidpony.squidai.CustomDijkstraMap
Marks a specific cell in gradientMap as completely impossible to enter.
setOccupied(int, int) - Method in class squidpony.squidai.DijkstraMap
Marks a specific cell in gradientMap as completely impossible to enter.
setOccupied(int, int) - Method in class squidpony.squidgrid.SoundMap
Marks a specific cell in gradientMap as a wall, which makes sounds potentially unable to pass through it.
setOctaves(int) - Method in class squidpony.squidmath.Noise.Ridged2D
 
setOctaves(int) - Method in class squidpony.squidmath.Noise.Ridged3D
 
setOctaves(int) - Method in class squidpony.squidmath.Noise.Ridged4D
 
setOctaves(int) - Method in class squidpony.squidmath.Noise.Ridged6D
 
setOrigin(Coord) - Method in interface squidpony.squidai.AOE
Set the position from which the AOE originates, which may be related to the location of the AOE's effect, as for lines, cones, and other emitted effects, or may be unrelated except for determining which enemies can be seen or targeted from a given origin point (as for distant effects that radiate from a chosen central point, but have a maxRange at which they can deliver that effect).
setOrigin(Coord) - Method in class squidpony.squidai.BeamAOE
 
setOrigin(Coord) - Method in class squidpony.squidai.BlastAOE
 
setOrigin(Coord) - Method in class squidpony.squidai.BurstAOE
 
setOrigin(Coord) - Method in class squidpony.squidai.CloudAOE
 
setOrigin(Coord) - Method in class squidpony.squidai.ConeAOE
 
setOrigin(Coord) - Method in class squidpony.squidai.LineAOE
 
setOrigin(Coord) - Method in class squidpony.squidai.PointAOE
 
setPointHash(IPointHash) - Method in class squidpony.squidmath.FastNoise
 
setRadius(double) - Method in class squidpony.squidai.ConeAOE
 
setRadius(int) - Method in class squidpony.squidai.BeamAOE
 
setRadius(int) - Method in class squidpony.squidai.BlastAOE
 
setRadius(int) - Method in class squidpony.squidai.BurstAOE
 
setRadius(int) - Method in class squidpony.squidai.LineAOE
 
setRadiusStrategy(Radius) - Method in class squidpony.squidgrid.LOS
Set the radius strategy to the given Radius; the default is CIRCLE if this is not called.
setRadiusType(Radius) - Method in class squidpony.squidai.BeamAOE
 
setRadiusType(Radius) - Method in class squidpony.squidai.BlastAOE
 
setRadiusType(Radius) - Method in class squidpony.squidai.BurstAOE
 
setRadiusType(Radius) - Method in class squidpony.squidai.CloudAOE
 
setRadiusType(Radius) - Method in class squidpony.squidai.ConeAOE
 
setRadiusType(Radius) - Method in class squidpony.squidai.LineAOE
 
setRandom(GWTRNG) - Method in class squidpony.squidmath.ProbabilityTable
Sets the current random number generator to the given GWTRNG.
setRandom(IRNG) - Method in class squidpony.squidmath.Dice
Sets the random number generator to be used.
setRandomness(RandomnessSource) - Method in class squidpony.squidmath.DeckRNG
Reseeds this DeckRNG using the RandomnessSource it is given.
setRandomness(RandomnessSource) - Method in class squidpony.squidmath.DharmaRNG
 
setRandomness(RandomnessSource) - Method in class squidpony.squidmath.EditRNG
 
setRandomness(RandomnessSource) - Method in class squidpony.squidmath.RNG
 
setRandomness(RandomnessSource) - Method in class squidpony.squidmath.StatefulRNG
 
setRaw(short[]) - Method in class squidpony.squidmath.Region
Sets the "raw packed data" to the given short array, as generated by CoordPacker or some parts of RegionMap.
setReach(Reach) - Method in interface squidpony.squidai.AOE
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
setReach(Reach) - Method in class squidpony.squidai.BeamAOE
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
setReach(Reach) - Method in class squidpony.squidai.BlastAOE
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
setReach(Reach) - Method in class squidpony.squidai.BurstAOE
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
setReach(Reach) - Method in class squidpony.squidai.CloudAOE
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
setReach(Reach) - Method in class squidpony.squidai.ConeAOE
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
setReach(Reach) - Method in class squidpony.squidai.LineAOE
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
setReach(Reach) - Method in class squidpony.squidai.PointAOE
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
setResolution(int) - Method in class squidpony.squidmath.MerlinNoise
Sets the resolution, which is an exponent that determines the width/height of each zone that shares the same four corners (where only the corners have their own hashed values).
setRng(IRNG) - Method in class squidpony.squidgrid.mapping.styled.DungeonBoneGen
Sets the current RNG.
setRng(IRNG) - Method in class squidpony.squidmath.TwistedLine
 
setRNG(IRNG) - Method in class squidpony.squidmath.GapShuffler
Sets the IRNG this uses to shuffle the order of elements, always copying the given IRNG before using it.
setRNG(IRNG, boolean) - Method in class squidpony.squidmath.GapShuffler
Sets the IRNG this uses to shuffle the order of elements, optionally sharing a reference between outside code and the internal rng (when shareRNG is true).
setSeed(int) - Method in class squidpony.squidmath.FastNoise
Sets the seed used for all noise types, as a long.
setSeed(int) - Method in class squidpony.squidmath.GWTRNG
Sets the state of this generator using one int, running it through Zog32RNG's algorithm two times to get two ints.
setSeed(int) - Method in class squidpony.squidmath.Lathe32RNG
Sets the state of this generator using one int, running it through Zog32RNG's algorithm two times to get two ints.
setSeed(int) - Method in class squidpony.squidmath.Oriole32RNG
Sets the state of this generator using one int, running it through Zog32RNG's algorithm three times to get three ints.
setSeed(int) - Method in class squidpony.squidmath.SilkRNG
Sets the state of this generator using one int, running it through Zog32RNG's algorithm two times to get two ints.
setSeed(int) - Method in class squidpony.squidmath.Starfish32RNG
Sets the state of this generator using one int, running it through Zog32RNG's algorithm two times to get two ints.
setSeed(int) - Method in class squidpony.squidmath.XoshiroStarPhi32RNG
Sets the state of this generator using one int, running it through a GWT-compatible variant of SplitMix32 four times to get four ints of state, all guaranteed to be different.
setSeed(long) - Method in class squidpony.squidmath.BasicRandom32
Sets the seed using a long, by XORing the upper and lower halves of seed and passing that to BasicRandom32.setState(int).
setSeed(long) - Method in class squidpony.squidmath.BasicRandom64
Sets the seed using a long, passing its argument to BasicRandom64.setState(long).
setSeed(long) - Method in class squidpony.squidmath.LightRNG
Sets the seed of this generator (which is also the current state).
setSeed(long) - Method in class squidpony.squidmath.MerlinNoise
 
setSeed(long) - Method in class squidpony.squidmath.MersenneTwister
Initalize the pseudo random number generator with 64 bits.
setSeed(long) - Method in class squidpony.squidmath.PermutedRNG
Sets the seed of this generator (which is also the current state).
setSeed(long) - Method in class squidpony.squidmath.XoRoRNG
Sets the seed of this generator using one long, running that through LightRNG's algorithm twice to get the state.
setSeed(long) - Method in class squidpony.squidmath.XoshiroStarPhi32RNG
Sets the state of this generator using one long, running it through a GWT-compatible variant of SplitMix32 four times to get four ints of state, guaranteed to repeat a state no more than two times.
setSeed(long[]) - Method in class squidpony.squidmath.MersenneTwister
Initalize the pseudo random number generator with a long array of any size, which should not be null but can be.
setSeed(long, long) - Method in class squidpony.squidmath.XoRoRNG
Sets the seed of this generator using two longs, using them without changes unless both are 0 (then it makes the state variable corresponding to stateA 1 instead).
setSelectedByte(double, int, byte) - Static method in class squidpony.squidmath.NumberTools
Like NumberTools.getSelectedByte(double, int), this sets the byte at a selected position in the int representation of a double, then returns the double produced by the bit change.
setSelectedByte(float, int, byte) - Static method in class squidpony.squidmath.NumberTools
Like NumberTools.getSelectedByte(float, int), this sets the byte at a selected position in the int representation of a float, then returns the float produced by the bit change.
setSize(int) - Method in class squidpony.squidmath.FlawedPointHash.CubeHash
 
setSize(int) - Method in class squidpony.squidmath.FlawedPointHash.QuiltHash
 
setSize(int) - Method in class squidpony.squidmath.IntVLA
Sets the array size, leaving any values beyond the current size undefined.
setSound(int, int, double) - Method in class squidpony.squidgrid.SoundMap
Marks a cell as producing a sound with the given loudness; this can be placed on a wall or unreachable area, but that may cause the sound to be un-hear-able.
setSound(Coord, double) - Method in class squidpony.squidgrid.SoundMap
Marks a cell as producing a sound with the given loudness; this can be placed on a wall or unreachable area, but that may cause the sound to be un-hear-able.
setSpan(double) - Method in class squidpony.squidai.ConeAOE
 
setState(int) - Method in class squidpony.squidmath.BasicRandom32
 
setState(int) - Method in class squidpony.squidmath.IPointHash.IntImpl
 
setState(int) - Method in class squidpony.squidmath.IPointHash.LongImpl
 
setState(int) - Method in interface squidpony.squidmath.IPointHash
 
setState(int) - Method in class squidpony.squidmath.Mover32RNG
 
setState(int) - Method in class squidpony.squidmath.Mover64RNG
 
setState(int, int) - Method in class squidpony.squidmath.GWTRNG
Sets the current internal state of this GWTRNG with three ints, where stateA and stateB can each be any int unless they are both 0 (which will be treated as if stateA is 1 and stateB is 0).
setState(int, int) - Method in class squidpony.squidmath.Lathe32RNG
Sets the current internal state of this Lathe32RNG with three ints, where stateA and stateB can each be any int unless they are both 0 (which will be treated as if stateA is 1 and stateB is 0).
setState(int, int) - Method in class squidpony.squidmath.SilkRNG
Sets the current internal state of this SilkRNG with two ints, where stateA and stateB can each be any int.
setState(int, int) - Method in class squidpony.squidmath.Starfish32RNG
Sets the current internal state of this Lathe32RNG with three ints, where stateA and stateB can each be any int unless they are both 0 (which will be treated as if stateA is 1 and stateB is 0).
setState(int, int, int) - Method in class squidpony.squidmath.Oriole32RNG
Sets the current internal state of this Oriole32RNG with three ints, where stateA and stateB can each be any int unless they are both 0, and stateC can be any int without restrictions.
setState(int, int, int, int) - Method in class squidpony.squidmath.XoshiroStarPhi32RNG
Sets the current internal state of this XoshiroStarPhi32RNG with four ints, where each can be any int unless they are all 0 (which will be treated as if stateA is 1 and the rest are 0).
setState(long) - Method in class squidpony.squidmath.BasicRandom64
 
setState(long) - Method in class squidpony.squidmath.DeckRNG
Sets the state of the random number generator to a given long, which will alter future random numbers this produces based on the state.
setState(long) - Method in class squidpony.squidmath.DistributedRNG
Set the current internal state of this StatefulRandomness with a long; this accepts a state of 0 with no issues.
setState(long) - Method in class squidpony.squidmath.DiverRNG
Sets the seed (also the current state) of this generator.
setState(long) - Method in class squidpony.squidmath.FlawedRandomness.AddRotate
 
setState(long) - Method in class squidpony.squidmath.FlawedRandomness.BigCounter
 
setState(long) - Method in class squidpony.squidmath.GWTRNG
Set the current internal state of this StatefulRandomness with a long.
setState(long) - Method in class squidpony.squidmath.IPointHash.LongImpl
 
setState(long) - Method in class squidpony.squidmath.Lathe32RNG
Set the current internal state of this StatefulRandomness with a long.
setState(long) - Method in class squidpony.squidmath.LFSR
Sets the seed of this generator using one long, running that through LightRNG's algorithm twice to get the state.
setState(long) - Method in class squidpony.squidmath.LightRNG
Sets the seed (also the current state) of this generator.
setState(long) - Method in class squidpony.squidmath.LinnormRNG
Sets the seed (also the current state) of this generator.
setState(long) - Method in class squidpony.squidmath.MiniMover64RNG
Sets the state to any long, which may put the generator in a low-period subcycle.
setState(long) - Method in class squidpony.squidmath.MizuchiRNG
Sets the seed (also the current state) of this generator.
setState(long) - Method in class squidpony.squidmath.MoonwalkRNG
Set the current internal state of this StatefulRandomness with a long; all longs are allowed.
setState(long) - Method in class squidpony.squidmath.NLFSR
Sets the seed of this generator using one long, running that through LightRNG's algorithm twice to get the state.
setState(long) - Method in class squidpony.squidmath.PermutedRNG
Sets the seed (also the current state) of this generator.
setState(long) - Method in class squidpony.squidmath.PintRNG
Sets the current state of this generator (an int) using only the least-significant 32 bits of seed (by casting a mask of those bits in seed to int, which helps ensure that a full 32 bits of state are possible).
setState(long) - Method in class squidpony.squidmath.PulleyRNG
Sets the seed (also the current state) of this generator.
setState(long) - Method in class squidpony.squidmath.SilkRNG
Set the current internal state of this StatefulRandomness with a long.
setState(long) - Method in class squidpony.squidmath.Starfish32RNG
Set the current internal state of this StatefulRandomness with a long.
setState(long) - Method in interface squidpony.squidmath.StatefulRandomness
Set the current internal state of this StatefulRandomness with a long.
setState(long) - Method in class squidpony.squidmath.StatefulRNG
Sets the state of the random number generator to a given long, which will alter future random numbers this produces based on the state.
setState(long) - Method in class squidpony.squidmath.ThrustAltRNG
Set the current internal state of this StatefulRandomness with a long.
setState(long) - Method in class squidpony.squidmath.VanDerCorputQRNG
 
setStateA(int) - Method in class squidpony.squidmath.GWTRNG
Sets the first part of the state to the given int.
setStateA(int) - Method in class squidpony.squidmath.Lathe32RNG
Sets the first part of the state to the given int.
setStateA(int) - Method in class squidpony.squidmath.Mover32RNG
Sets the "A" part of the state to any int, which may put the generator in a low-period subcycle.
setStateA(int) - Method in class squidpony.squidmath.Oriole32RNG
 
setStateA(int) - Method in class squidpony.squidmath.SilkRNG
Sets the first part of the state to the given int.
setStateA(int) - Method in class squidpony.squidmath.Starfish32RNG
Sets the first part of the state to the given int.
setStateA(int) - Method in class squidpony.squidmath.XoshiroStarPhi32RNG
Sets the first part of the state to the given int.
setStateA(long) - Method in class squidpony.squidmath.GearRNG
Set the "A" part of the internal state with a long.
setStateA(long) - Method in class squidpony.squidmath.GoatRNG
Set the "A" part of the internal state with a long.
setStateA(long) - Method in class squidpony.squidmath.Mover64RNG
Sets the "A" part of the state to any long, which may put the generator in a low-period subcycle.
setStateA(long) - Method in class squidpony.squidmath.OrbitRNG
Set the "A" part of the internal state with a long.
setStateA(long) - Method in class squidpony.squidmath.TangleRNG
Set the "A" part of the internal state with a long.
setStateA(long) - Method in class squidpony.squidmath.TweakRNG
 
setStateB(int) - Method in class squidpony.squidmath.GWTRNG
Sets the second part of the state to the given int.
setStateB(int) - Method in class squidpony.squidmath.Lathe32RNG
Sets the second part of the state to the given int.
setStateB(int) - Method in class squidpony.squidmath.Mover32RNG
Sets the "B" part of the state to any int, which may put the generator in a low-period subcycle.
setStateB(int) - Method in class squidpony.squidmath.Oriole32RNG
 
setStateB(int) - Method in class squidpony.squidmath.SilkRNG
Sets the second part of the state to the given int.
setStateB(int) - Method in class squidpony.squidmath.Starfish32RNG
Sets the second part of the state to the given int.
setStateB(int) - Method in class squidpony.squidmath.XoshiroStarPhi32RNG
Sets the second part of the state to the given int.
setStateB(long) - Method in class squidpony.squidmath.GearRNG
Set the "B" part of the internal state with a long; the lowest bit is always discarded and replaced with 1.
setStateB(long) - Method in class squidpony.squidmath.GoatRNG
Set the "B" part of the internal state with a long.
setStateB(long) - Method in class squidpony.squidmath.Mover64RNG
Sets the "B" part of the state to any long, which may put the generator in a low-period subcycle.
setStateB(long) - Method in class squidpony.squidmath.OrbitRNG
Set the "B" part of the internal state with a long.
setStateB(long) - Method in class squidpony.squidmath.TangleRNG
Set the "B" part of the internal state with a long; the least significant bit is ignored (will always be odd).
setStateB(long) - Method in class squidpony.squidmath.TweakRNG
 
setStateC(int) - Method in class squidpony.squidmath.Oriole32RNG
 
setStateC(int) - Method in class squidpony.squidmath.XoshiroStarPhi32RNG
Sets the third part of the state to the given int.
setStateD(int) - Method in class squidpony.squidmath.XoshiroStarPhi32RNG
Sets the second part of the state to the given int.
setStep(int) - Method in class squidpony.squidmath.DeckRNG
 
setTarget(char[], int, int) - Method in class squidpony.ObText.ContentMatcher
Supplies a text to search in/match with, as a part of char array.
setTarget(CharSequence) - Method in class squidpony.ObText.ContentMatcher
Supplies a text to search in/match with.
setTarget(CharSequence, int, int) - Method in class squidpony.ObText.ContentMatcher
Supplies a text to search in/match with, as a part of String.
setToMap(OrderedSet<Coord>) - Static method in class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
 
setValue(double) - Method in class squidpony.squidmath.IntDoubleOrderedMap.MapEntry
 
setValue(int) - Method in class squidpony.squidmath.IntIntOrderedMap.MapEntry
 
setValue(T, double) - Method in class squidpony.squidmath.BinaryHeap
Changes the value of the node, which should already be in the heap.
setVolume(int) - Method in class squidpony.squidai.CloudAOE
 
setWeight(float) - Method in class squidpony.squidai.graph.Connection
 
setWeight(float) - Method in class squidpony.squidai.graph.Edge
 
setWidth(int) - Method in class squidpony.squidgrid.mapping.OrganicMapGenerator
 
setX(double) - Method in class squidpony.squidmath.CoordDouble
 
setX(int) - Method in class squidpony.squidmath.Coord
 
setY(double) - Method in class squidpony.squidmath.CoordDouble
 
setY(int) - Method in class squidpony.squidmath.Coord
 
SHADOW - Static variable in class squidpony.squidgrid.FOV
Uses Shadow Casting FOV algorithm.
shallow - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMimicMap
 
shallow - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
 
shallowContents() - Method in class squidpony.ObText.ObTextEntry
 
shallowerExteriorSquareLarge - Static variable in class squidpony.squidgrid.mapping.LineKit
A constant that represents the encoded pattern for a 4x4 square with all lines possible except those that would extend to touch cells adjacent to the 4x4 area.
shallowerInteriorSquareLarge - Static variable in class squidpony.squidgrid.mapping.LineKit
A constant that represents the encoded pattern for a 4x4 square with all lines possible except those that would extend to touch cells adjacent to the 4x4 area.
shallowExteriorSquareLarge - Static variable in class squidpony.squidgrid.mapping.LineKit
A constant that represents the encoded pattern for a 4x4 square with all lines possible except those that would extend to touch cells adjacent to the 4x4 area.
shallowInteriorSquareLarge - Static variable in class squidpony.squidgrid.mapping.LineKit
A constant that represents the encoded pattern for a 4x4 square with all lines possible except those that would extend to touch cells adjacent to the 4x4 area.
shallowLakeGlyph - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
The char to use for shallow lake cells.
shallowMap() - Method in class squidpony.ObText
Gets all unique Strings from the top level of this ObText as keys in a HashMap, with any Strings associated with those keys as their values (in a possibly-empty ArrayList of String for each value).
shallowOrderedMap() - Method in class squidpony.ObText
Gets all unique Strings from the top level of this ObText as keys in an OrderedMap, with any Strings associated with those keys as their values (in a possibly-empty ArrayList of String for each value).
shallowWaterLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
shallowWaterUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
sharpness - Variable in class squidpony.squidmath.Noise.Exponential1D
 
sharpness - Variable in class squidpony.squidmath.Noise.Exponential2D
 
sharpness - Variable in class squidpony.squidmath.Noise.Exponential3D
 
sharpness - Variable in class squidpony.squidmath.Noise.Exponential4D
 
sharpness - Variable in class squidpony.squidmath.Noise.Exponential6D
 
shax - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
shax - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
shax_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
shax_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
shift - Variable in class squidpony.NaturalLanguageCipher
 
shift - Variable in class squidpony.squidmath.IntSet
Used by IntSet.place(int) to bit shift the upper bits of a long into a usable range (>= 0 and <= IntSet.mask).
shift(Coord) - Method in interface squidpony.squidai.AOE
After an AOE has been constructed, it may need to have the affected area shifted over to a different position without changing any other properties of the AOE.
shift(Coord) - Method in class squidpony.squidai.BeamAOE
 
shift(Coord) - Method in class squidpony.squidai.BlastAOE
 
shift(Coord) - Method in class squidpony.squidai.BurstAOE
 
shift(Coord) - Method in class squidpony.squidai.CloudAOE
 
shift(Coord) - Method in class squidpony.squidai.ConeAOE
 
shift(Coord) - Method in class squidpony.squidai.LineAOE
 
shift(Coord) - Method in class squidpony.squidai.PointAOE
 
shiftKeys(int) - Method in class squidpony.squidmath.Arrangement
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
shiftKeys(int) - Method in class squidpony.squidmath.IntDoubleOrderedMap
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
shiftKeys(int) - Method in class squidpony.squidmath.IntIntOrderedMap
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
shiftKeys(int) - Method in class squidpony.squidmath.OrderedMap
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
shiftKeys(int) - Method in class squidpony.squidmath.OrderedSet
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
shiftKeys(int) - Method in class squidpony.squidmath.UnorderedMap
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
shiftKeys(int) - Method in class squidpony.squidmath.UnorderedSet
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
shiftKeysValues(int) - Method in class squidpony.squidmath.Arrangement
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
SHOGGOTH - Static variable in class squidpony.MonsterGen
 
short_side_length - Variable in class squidpony.squidgrid.mapping.styled.Config
 
shortHasher - Static variable in class squidpony.squidmath.CrossHash
 
shortName - Variable in class squidpony.squidgrid.mapping.FantasyPoliticalMapper.Faction
 
shorts - Variable in class squidpony.squidgrid.zone.CoordPackerZone
 
ShortVLA - Class in squidpony.squidmath
A resizable, ordered or unordered short variable-length array.
ShortVLA() - Constructor for class squidpony.squidmath.ShortVLA
Creates an ordered array with a capacity of 16.
ShortVLA(boolean, int) - Constructor for class squidpony.squidmath.ShortVLA
 
ShortVLA(boolean, short[], int, int) - Constructor for class squidpony.squidmath.ShortVLA
Creates a new array containing the elements in the specified array.
ShortVLA(int) - Constructor for class squidpony.squidmath.ShortVLA
Creates an ordered array with the specified capacity.
ShortVLA(int[]) - Constructor for class squidpony.squidmath.ShortVLA
Creates a new ordered array containing the elements in the specified array, converted to short.
ShortVLA(short[]) - Constructor for class squidpony.squidmath.ShortVLA
Creates a new ordered array containing the elements in the specified array.
ShortVLA(ShortVLA) - Constructor for class squidpony.squidmath.ShortVLA
Creates a new array containing the elements in the specific array.
show() - Method in class squidpony.squidai.graph.CostlyGraph
Creates a 1D char array (which can be passed to String.valueOf(char[])) filled with a grid made of the vertices in this Graph and their estimated costs, if this has done an estimate.
show() - Method in class squidpony.squidai.graph.DefaultGraph
Creates a 1D char array (which can be passed to String.valueOf(char[])) filled with a grid made of the vertices in this Graph and their estimated costs, if this has done an estimate.
show(char, char) - Method in class squidpony.squidmath.GreasedRegion
Returns this GreasedRegion's data as a StringBuilder, with each row made of the parameter on for "on" cells and the parameter off for "off" cells, separated by newlines, with no trailing newline at the end.
show(int) - Method in class squidpony.squidgrid.Adjacency
 
showMap(int[], int) - Method in class squidpony.squidgrid.Adjacency
 
shrink() - Method in class squidpony.squidmath.IntVLA
Reduces the size of the backing array to the size of the actual items.
shrink() - Method in class squidpony.squidmath.ShortVLA
Reduces the size of the backing array to the size of the actual items.
shrink(int) - Method in class squidpony.squidmath.IntSet
Reduces the size of the backing arrays to be the specified capacity / loadFactor, or less.
shrink(Rectangle) - Static method in class squidpony.squidgrid.mapping.Rectangle.Utils
Creates a new Rectangle that is smaller than r by 1 cell from each of r's edges, to a minimum of a 1x1 cell.
shuffle(Collection<T>) - Method in class squidpony.squidmath.AbstractRNG
Shuffles a Collection of T using the Fisher-Yates algorithm and returns an ArrayList of T.
shuffle(Collection<T>) - Method in interface squidpony.squidmath.IRNG
Shuffles a Collection of T using the Fisher-Yates algorithm and returns an ArrayList of T.
shuffle(Collection<T>) - Method in class squidpony.squidmath.RNG
Shuffles a Collection of T using the Fisher-Yates algorithm and returns an ArrayList of T.
shuffle(Collection<T>, ArrayList<T>) - Method in class squidpony.squidmath.AbstractRNG
Shuffles a Collection of T using the Fisher-Yates algorithm and puts it in a buffer.
shuffle(Collection<T>, ArrayList<T>) - Method in interface squidpony.squidmath.IRNG
Shuffles a Collection of T using the Fisher-Yates algorithm and puts it in a buffer.
shuffle(Collection<T>, ArrayList<T>) - Method in class squidpony.squidmath.RNG
Shuffles a Collection of T using the Fisher-Yates algorithm.
shuffle(IRNG) - Method in class squidpony.squidmath.Arrangement
Randomly alters the iteration order for this Arrangement using the given IRNG to shuffle.
shuffle(IRNG) - Method in class squidpony.squidmath.DelaunayTriangulator
Creates a random permutation of the specified point set.
shuffle(IRNG) - Method in class squidpony.squidmath.IntDoubleOrderedMap
Randomly alters the iteration order for this OrderedMap using the given IRNG to shuffle.
shuffle(IRNG) - Method in class squidpony.squidmath.IntIntOrderedMap
Randomly alters the iteration order for this OrderedMap using the given IRNG to shuffle.
shuffle(IRNG) - Method in class squidpony.squidmath.IntVLA
Shuffles this IntVLA in place using the given IRNG.
shuffle(IRNG) - Method in class squidpony.squidmath.K2
Generates a random ordering with rng and applies the same ordering to all kinds of keys this has; they will maintain their current association to other keys but their ordering/indices will change.
shuffle(IRNG) - Method in class squidpony.squidmath.K2V1
Generates a random ordering with rng and applies the same ordering to all keys and values this has; they will maintain their current association to other keys and values but their ordering/indices will change.
shuffle(IRNG) - Method in class squidpony.squidmath.OrderedMap
Randomly alters the iteration order for this OrderedMap using the given IRNG to shuffle.
shuffle(IRNG) - Method in class squidpony.squidmath.OrderedSet
Randomly alters the iteration order for this OrderedSet using the given IRNG to shuffle.
shuffle(IRNG) - Method in class squidpony.squidmath.Voronoi
Creates a random permutation of the specified point set.
shuffle(T[]) - Method in class squidpony.squidmath.AbstractRNG
Shuffle an array using the Fisher-Yates algorithm and returns a shuffled copy, freshly-allocated, without modifying elements.
shuffle(T[]) - Method in class squidpony.squidmath.BasicRandom32
Shuffle an array using the Fisher-Yates algorithm and returns a shuffled copy, freshly-allocated, without modifying elements.
shuffle(T[]) - Method in class squidpony.squidmath.BasicRandom64
Shuffle an array using the Fisher-Yates algorithm and returns a shuffled copy, freshly-allocated, without modifying elements.
shuffle(T[]) - Method in class squidpony.squidmath.DeckRNG
Shuffle an array using the Fisher-Yates algorithm.
shuffle(T[]) - Method in interface squidpony.squidmath.IRNG
Shuffle an array using the Fisher-Yates algorithm and returns a shuffled copy, freshly-allocated, without modifying elements.
shuffle(T[]) - Method in class squidpony.squidmath.RNG
Shuffle an array using the Fisher-Yates algorithm and returns a shuffled copy.
shuffle(T[], T[]) - Method in class squidpony.squidmath.AbstractRNG
Shuffle an array using the Fisher-Yates algorithm.
shuffle(T[], T[]) - Method in interface squidpony.squidmath.IRNG
Shuffle an array using the Fisher-Yates algorithm.
shuffle(T[], T[]) - Method in class squidpony.squidmath.RNG
Shuffle an array using the Fisher-Yates algorithm.
shuffledGrid() - Method in class squidpony.squidmath.BalancedPermutations
 
shuffledGridMultiple(int) - Method in class squidpony.squidmath.BalancedPermutations
 
ShuffledIntSequence - Class in squidpony.squidmath
An infinite sequence of pseudo-random ints (typically used as indices) from 0 to some bound, with all possible ints returned in a shuffled order before re-shuffling for the next result.
ShuffledIntSequence() - Constructor for class squidpony.squidmath.ShuffledIntSequence
Constructs a ShuffledIntSequence with a random seed and a bound of 10.
ShuffledIntSequence(int) - Constructor for class squidpony.squidmath.ShuffledIntSequence
Constructs a ShuffledIntSequence with the given exclusive upper bound and a random seed.
ShuffledIntSequence(int, int) - Constructor for class squidpony.squidmath.ShuffledIntSequence
Constructs a ShuffledIntSequence with the given exclusive upper bound and int seed.
shuffleInPlace(List<T>) - Method in class squidpony.squidmath.AbstractRNG
Shuffles a Collection of T items in-place using the Fisher-Yates algorithm.
shuffleInPlace(List<T>) - Method in class squidpony.squidmath.BasicRandom64
Shuffles a Collection of T items in-place using the Fisher-Yates algorithm.
shuffleInPlace(List<T>) - Method in interface squidpony.squidmath.IRNG
Shuffles a Collection of T items in-place using the Fisher-Yates algorithm.
shuffleInPlace(List<T>) - Method in class squidpony.squidmath.RNG
Shuffles a Collection of T items in-place using the Fisher-Yates algorithm.
shuffleInPlace(T[]) - Method in class squidpony.squidmath.AbstractRNG
Shuffles an array in-place using the Fisher-Yates algorithm.
shuffleInPlace(T[]) - Method in class squidpony.squidmath.BasicRandom32
Shuffles an array in-place using the Fisher-Yates algorithm.
shuffleInPlace(T[]) - Method in class squidpony.squidmath.BasicRandom64
Shuffles an array in-place using the Fisher-Yates algorithm.
shuffleInPlace(T[]) - Method in interface squidpony.squidmath.IRNG
Shuffles an array in-place using the Fisher-Yates algorithm.
shuffleInPlace(T[]) - Method in class squidpony.squidmath.RNG
Shuffles an array in-place using the Fisher-Yates algorithm.
shuffleInPlace(T[], int) - Method in class squidpony.squidmath.BasicRandom32
Shuffles an array in-place using the Fisher-Yates algorithm, affecting indices from 0 (inclusive) to length (exclusive).
shuffleInPlace(T[], int) - Method in class squidpony.squidmath.BasicRandom64
Shuffles an array in-place using the Fisher-Yates algorithm, affecting indices from 0 (inclusive) to length (exclusive).
sigma - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
sigma - Static variable in class squidpony.squidmath.CrossHash.Mist
 
sigma - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
sigma_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
sigma_ - Static variable in class squidpony.squidmath.CrossHash.Mist
 
sigma_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
SILENT - Static variable in class squidpony.squidgrid.SoundMap
Cells with no sound are always marked with 0.
SilkRNG - Class in squidpony.squidmath
An IStatefulRNG implementation that is meant to provide random numbers very quickly when targeting GWT but also to produce the same numbers when used on desktop, Android, or other platforms, and that can have its state read as a StatefulRandomness; it is thus like GWTRNG but should perform better on recent desktop JVMs.
SilkRNG() - Constructor for class squidpony.squidmath.SilkRNG
Creates a new generator seeded using two calls to Math.random().
SilkRNG(int) - Constructor for class squidpony.squidmath.SilkRNG
Constructs this SilkRNG by dispersing the bits of seed using SilkRNG.setSeed(int) across the two parts of state this has.
SilkRNG(int, int) - Constructor for class squidpony.squidmath.SilkRNG
Constructs this SilkRNG by calling SilkRNG.setState(int, int) on stateA and stateB as given; see that method for the specific details (stateA and stateB are kept as-is).
SilkRNG(long) - Constructor for class squidpony.squidmath.SilkRNG
Constructs this SilkRNG by splitting the given seed across the two parts of state this has with SilkRNG.setState(long).
SilkRNG(String) - Constructor for class squidpony.squidmath.SilkRNG
Hashes seed using both CrossHash.hash(CharSequence) and String.hashCode() and uses those two results as the two states with SilkRNG.setState(int, int).
similarFinder - Static variable in class squidpony.Thesaurus
 
SIMPLE_CAVES - squidpony.squidgrid.mapping.styled.TilesetType
A more open cave, but portions of this may seem artificial.
SimpleBiomeMapper() - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
Simple constructor; pretty much does nothing.
SimpleCaves2Wide - Class in squidpony.tileset
 
SimpleCaves2Wide() - Constructor for class squidpony.tileset.SimpleCaves2Wide
 
SimpleDistribution() - Constructor for class squidpony.squidmath.IDistribution.SimpleDistribution
 
simpleItems() - Method in class squidpony.squidmath.ProbabilityTable
Provides a set of the items in this table that are not in nested tables, without reference to their weight.
simpleMaze - Static variable in class squidpony.squidgrid.MimicFill
Predefined sample; produces an uncanny imitation of a maze with a tiny sample size.
simpleRooms - Static variable in class squidpony.squidgrid.MimicFill
Predefined sample; produces mostly rectangular rooms with very few corridor-like areas.
SimpleSpikeDistribution() - Constructor for class squidpony.squidmath.SpikeDistribution.SimpleSpikeDistribution
 
SIMPLEX - Static variable in class squidpony.squidmath.FastNoise
 
SIMPLEX_4D - Static variable in class squidpony.squidmath.SeededNoise
Used by SeededNoise.noise(double, double, double, double, long) to look up the vertices of the 4D triangle analogue.
SIMPLEX_FRACTAL - Static variable in class squidpony.squidmath.FastNoise
 
SIMPLIFY_NORSE - Static variable in class squidpony.FakeLanguageGen.Modifier
Removes accented letters and the two non-English consonants from text generated with FakeLanguageGen.NORSE.
simplifyDungeon(char[][]) - Static method in class squidpony.squidgrid.mapping.DungeonUtility
Takes a char[][] dungeon map and returns a copy with all box drawing chars, special placeholder chars, or '#' chars changed to '#' and everything else changed to '.' .
SIMPLISH - Static variable in class squidpony.FakeLanguageGen
English-like language that omits complex spelling and doesn't include any of the uncommon word endings of English like "ought" or "ation." A good choice when you want something that doesn't use any non-US-keyboard letters, looks somewhat similar to English, and tries to be pronounceable without too much effort.
simpsonIntegrateHyperellipse(double, double, double, double) - Static method in class squidpony.squidgrid.mapping.ProjectionTools
Performs a definite integral using Simpson's rule and a constant step size; hard-coded to integrate a hyperellipse function.
simpsonODESolveHyperellipse(double, double[], double, double, double, double) - Static method in class squidpony.squidgrid.mapping.ProjectionTools
Solves a simple ODE using Simpson's rule and a constant step size; hard-coded to solve a hyperelliptical map projection task.
sin(double) - Static method in class squidpony.squidmath.NumberTools
A fairly-close approximation of Math.sin(double) that can be significantly faster (between 8x and 80x faster sin() calls in benchmarking; if you have access to libGDX you should consider its sometimes-more-precise and sometimes-faster MathUtils.sin() method.
sin(float) - Static method in class squidpony.squidmath.NumberTools
A fairly-close approximation of Math.sin(double) that can be significantly faster (between 8x and 80x faster sin() calls in benchmarking, and both takes and returns floats; if you have access to libGDX you should consider its more-precise and sometimes-faster MathUtils.sin() method.
sin_(double) - Static method in class squidpony.squidmath.NumberTools
A variation on Math.sin(double) that takes its input as a fraction of a turn instead of in radians; one turn is equal to 360 degrees or two*PI radians.
sin_(float) - Static method in class squidpony.squidmath.NumberTools
A variation on Math.sin(double) that takes its input as a fraction of a turn instead of in radians (it also takes and returns a float); one turn is equal to 360 degrees or two*PI radians.
sinDegrees(float) - Static method in class squidpony.squidmath.NumberTools
A fairly-close approximation of Math.sin(double) that can be significantly faster (between 8x and 80x faster sin() calls in benchmarking, and both takes and returns floats; if you have access to libGDX, you should consider its more-precise and sometimes-faster MathUtils.sinDeg() method.
singleFoam(int, float, float) - Method in class squidpony.squidmath.FastNoise
 
singleFoam(int, float, float, float) - Method in class squidpony.squidmath.FastNoise
 
singleFoam(int, float, float, float, float) - Method in class squidpony.squidmath.FastNoise
 
singleFoam(int, float, float, float, float, float, float) - Method in class squidpony.squidmath.FastNoise
 
singleRandom(short[], IRNG) - Static method in class squidpony.squidmath.CoordPacker
Gets a single randomly chosen position that is "on" in the given packed array, without unpacking it, and returns it as a Coord or returns null of the array is empty.
singleRandom(IRNG) - Method in class squidpony.squidmath.GreasedRegion
Gets a single random Coord from the "on" positions in this GreasedRegion, or the Coord (-1,-1) if this is empty.
singleRandomTight(IRNG) - Method in class squidpony.squidmath.GreasedRegion
 
singleSimplex(int, float, float) - Method in class squidpony.squidmath.FastNoise
 
singleSimplex(int, float, float, float) - Method in class squidpony.squidmath.FastNoise
 
singleSimplex(int, float, float, float, float) - Method in class squidpony.squidmath.FastNoise
 
singleSimplex(int, float, float, float, float, float, float) - Method in class squidpony.squidmath.FastNoise
 
singleValue(int, float, float) - Method in class squidpony.squidmath.FastNoise
 
sitri - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
sitri - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
sitri_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
sitri_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
size - Variable in class squidpony.squidgrid.iterator.SquidIterators.CenteredSquare
 
size - Variable in class squidpony.squidmath.Arrangement
Number of entries in the set (including the key zero, if present).
size - Variable in class squidpony.squidmath.BalancedPermutations
 
size - Variable in class squidpony.squidmath.BinaryHeap
 
size - Variable in class squidpony.squidmath.IntDoubleOrderedMap
Number of entries in the set (including the key zero, if present).
size - Variable in class squidpony.squidmath.IntIntOrderedMap
Number of entries in the set (including the key zero, if present).
size - Variable in class squidpony.squidmath.IntSet
 
size - Variable in class squidpony.squidmath.IntVLA
 
size - Variable in class squidpony.squidmath.OrderedMap
Number of entries in the set (including the key zero, if present).
size - Variable in class squidpony.squidmath.OrderedSet
Number of entries in the set (including the key zero, if present).
size - Variable in class squidpony.squidmath.ShortVLA
 
size - Variable in class squidpony.squidmath.UnorderedMap
Number of entries in the set (including the key zero, if present).
size - Variable in class squidpony.squidmath.UnorderedSet
Number of entries in the set (including the key zero, if present).
size - Variable in class squidpony.squidmath.WeightedTable
 
size() - Method in class squidpony.squidai.graph.Graph
Get the number of vertices in the graph.
size() - Method in class squidpony.squidgrid.mapping.Rectangle.Impl
 
size() - Method in class squidpony.squidgrid.mapping.SectionMap
The number of regions this knows about; includes an entry for "unused cells" so this may be one larger than the amount of GreasedRegions present in a RoomFinder used to construct this.
size() - Method in class squidpony.squidgrid.SpatialMap
 
size() - Method in class squidpony.squidgrid.zone.CoordPackerZone
 
size() - Method in class squidpony.squidgrid.zone.ListZone
 
size() - Method in interface squidpony.squidgrid.zone.Zone
 
size() - Method in class squidpony.squidgrid.zone.Zone.Skeleton
 
size() - Method in class squidpony.squidmath.Arrangement.KeySet
 
size() - Method in class squidpony.squidmath.Arrangement
 
size() - Method in class squidpony.squidmath.Arrangement.ValueCollection
 
size() - Method in class squidpony.squidmath.GreasedRegion
 
size() - Method in class squidpony.squidmath.IntDoubleOrderedMap.KeySet
 
size() - Method in class squidpony.squidmath.IntDoubleOrderedMap.MapEntrySet
 
size() - Method in class squidpony.squidmath.IntDoubleOrderedMap
 
size() - Method in class squidpony.squidmath.IntDoubleOrderedMap.ValueCollection
 
size() - Method in class squidpony.squidmath.IntIntOrderedMap.KeySet
 
size() - Method in class squidpony.squidmath.IntIntOrderedMap.MapEntrySet
 
size() - Method in class squidpony.squidmath.IntIntOrderedMap
 
size() - Method in class squidpony.squidmath.IntIntOrderedMap.ValueCollection
 
size() - Method in class squidpony.squidmath.K2
 
size() - Method in class squidpony.squidmath.K2V1
Gets the size of this collection.
size() - Method in class squidpony.squidmath.OrderedMap.KeySet
 
size() - Method in class squidpony.squidmath.OrderedMap.MapEntrySet
 
size() - Method in class squidpony.squidmath.OrderedMap
 
size() - Method in class squidpony.squidmath.OrderedMap.ValueCollection
 
size() - Method in class squidpony.squidmath.OrderedSet
 
size() - Method in class squidpony.squidmath.Region
Gets the size of this Region as measured in Coords stored.
size() - Method in class squidpony.squidmath.UnorderedMap
 
size() - Method in class squidpony.squidmath.UnorderedMap.ValueCollection
 
size() - Method in class squidpony.squidmath.UnorderedSet
 
size(Rectangle) - Static method in class squidpony.squidgrid.mapping.Rectangle.Utils
 
SIZE_COMPARATOR - Static variable in class squidpony.squidgrid.mapping.Rectangle.Utils
A comparator that uses Rectangle.Utils.size(Rectangle) as the measure.
Skeleton() - Constructor for class squidpony.squidgrid.zone.Zone.Skeleton
 
Skeleton(IFilter<T>) - Constructor for class squidpony.IColorCenter.Skeleton
 
skip(int) - Method in class squidpony.squidmath.PintRNG
Advances or rolls back the PintRNG's state without actually generating each number.
skip(long) - Method in class squidpony.squidmath.LightRNG
Advances or rolls back the LightRNG's state without actually generating each number.
skip(long) - Method in class squidpony.squidmath.MoonwalkRNG
Advances or rolls back the SkippingRandomness' state without actually generating each number.
skip(long) - Method in class squidpony.squidmath.PermutedRNG
Advances or rolls back the PermutedRNG's state without actually generating each number.
skip(long) - Method in class squidpony.squidmath.PulleyRNG
 
skip(long) - Method in interface squidpony.squidmath.SkippingRandomness
Advances or rolls back the SkippingRandomness' state without actually generating each number.
skip(long) - Method in class squidpony.squidmath.TangleRNG
Advances or rolls back the SkippingRandomness' state without actually generating each number.
skip(long) - Method in class squidpony.squidmath.ThrustAltRNG
Advances or rolls back the ThrustAltRNG's state without actually generating each number.
SkippingRandomness - Interface in squidpony.squidmath
A simple interface for RandomnessSources that have the additional capability to skip forward or backward in their generated number stream.
skipTo(int) - Method in class squidpony.squidmath.SobolQRNG
Skip to the i-th point in the Sobol sequence.
Slick2D() - Constructor for class squidpony.squidmath.Noise.Slick2D
 
Slick2D(Noise.Noise2D, Noise.Noise2D) - Constructor for class squidpony.squidmath.Noise.Slick2D
 
Slick2D(Noise.Noise2D, Noise.Noise2D, int) - Constructor for class squidpony.squidmath.Noise.Slick2D
 
Slick3D() - Constructor for class squidpony.squidmath.Noise.Slick3D
 
Slick3D(Noise.Noise3D, Noise.Noise3D) - Constructor for class squidpony.squidmath.Noise.Slick3D
 
Slick3D(Noise.Noise3D, Noise.Noise3D, int) - Constructor for class squidpony.squidmath.Noise.Slick3D
 
Slick4D() - Constructor for class squidpony.squidmath.Noise.Slick4D
 
Slick4D(Noise.Noise4D, Noise.Noise4D) - Constructor for class squidpony.squidmath.Noise.Slick4D
 
Slick4D(Noise.Noise4D, Noise.Noise4D, int) - Constructor for class squidpony.squidmath.Noise.Slick4D
 
Slick6D() - Constructor for class squidpony.squidmath.Noise.Slick6D
 
Slick6D(Noise.Noise6D, Noise.Noise6D) - Constructor for class squidpony.squidmath.Noise.Slick6D
 
Slick6D(Noise.Noise6D, Noise.Noise6D, int) - Constructor for class squidpony.squidmath.Noise.Slick6D
 
SNAKE - Static variable in class squidpony.MonsterGen
 
SNOW_LEVEL - Static variable in class squidpony.squidgrid.mapping.MetsaMapFactory
 
snowLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
snowUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
SobolQRNG - Class in squidpony.squidmath
Implementation of a Sobol sequence as a Quasi-Random Number Generator.
SobolQRNG(int) - Constructor for class squidpony.squidmath.SobolQRNG
Construct a new Sobol sequence generator for the given space dimension.
SOFT_TRIANGULAR - Static variable in class squidpony.squidmath.RandomBias
A constant for a distribution that linearly increases in probability from a 0.0 chance of 0.0.
SOMALI - Static variable in class squidpony.FakeLanguageGen
Imitation Somali, using the Latin alphabet.
sort() - Method in class squidpony.squidmath.IntVLA
 
sort() - Method in class squidpony.squidmath.ShortVLA
 
sort(Comparator<? super K>) - Method in class squidpony.squidmath.Arrangement
Sorts this whole Arrangement using the supplied Comparator.
sort(Comparator<? super K>) - Method in class squidpony.squidmath.OrderedMap
Sorts this whole OrderedMap on its keys using the supplied Comparator.
sort(Comparator<? super K>) - Method in class squidpony.squidmath.OrderedSet
Sorts this whole OrderedSet using the supplied Comparator.
sort(Comparator<? super K>, int, int) - Method in class squidpony.squidmath.Arrangement
Sorts a sub-range of this Arrangement from what is currently the index start up to (but not including) the index end, using the supplied Comparator.
sort(Comparator<? super K>, int, int) - Method in class squidpony.squidmath.OrderedMap
Sorts a sub-range of this OrderedMap on its keys from what is currently the index start up to (but not including) the index end, using the supplied Comparator.
sort(Comparator<? super K>, int, int) - Method in class squidpony.squidmath.OrderedSet
Sorts a sub-range of this OrderedSet from what is currently the index start up to (but not including) the index end, using the supplied Comparator.
sort(T[], IntVLA, int, int, Comparator<? super T>) - Static method in class squidpony.squidmath.TimSort
Modifies order by comparing items from index lo inclusive to index hi exclusive in the array a with the Comparator c; not likely to be used externally except by code that extends or re-implements SquidLib data structures.
sort(T[], IntVLA, Comparator<? super T>) - Static method in class squidpony.squidmath.TimSort
Modifies order by comparing items in the array a with the Comparator c; not likely to be used externally except by code that extends or re-implements SquidLib data structures.
sortByValue(Comparator<? super V>) - Method in class squidpony.squidmath.OrderedMap
Sorts this whole OrderedMap on its values using the supplied Comparator.
sortByValue(Comparator<? super V>, int, int) - Method in class squidpony.squidmath.OrderedMap
Sorts a sub-range of this OrderedMap on its values from what is currently the index start up to (but not including) the index end, using the supplied Comparator.
sortEdges(Comparator<Connection<V>>) - Method in class squidpony.squidai.graph.Graph
Sort the edges using the provided comparator.
sortVertices(Comparator<V>) - Method in class squidpony.squidai.graph.Graph
Sort the vertices using the provided comparator.
SoundMap - Class in squidpony.squidgrid
This class is used to determine when a sound is audible on a map and at what positions.
SoundMap() - Constructor for class squidpony.squidgrid.SoundMap
Construct a SoundMap without a level to actually scan.
SoundMap(char[][]) - Constructor for class squidpony.squidgrid.SoundMap
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.
SoundMap(char[][], char) - Constructor for class squidpony.squidgrid.SoundMap
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.
SoundMap(char[][], Measurement) - Constructor for class squidpony.squidgrid.SoundMap
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.
SoundMap(double[][]) - Constructor for class squidpony.squidgrid.SoundMap
Used to construct a SoundMap from the output of another.
SoundMap(double[][], Measurement) - Constructor for class squidpony.squidgrid.SoundMap
Used to construct a DijkstraMap from the output of another, specifying a distance calculation.
SoundMap(IRNG) - Constructor for class squidpony.squidgrid.SoundMap
Construct a SoundMap without a level to actually scan.
sounds - Variable in class squidpony.squidgrid.SoundMap
Sources of sound on the map; keys are positions, values are how loud the noise is (10.0 should spread 10 cells away, with diminishing values assigned to further positions).
spaceIgnoringArrayHasher - Static variable in class squidpony.StringConvert
 
spaceIgnoringHasher - Static variable in class squidpony.StringConvert
 
spaceship - Static variable in class squidpony.squidmath.MaskedShapeGenerator
 
SpaceViewMap() - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space, showing only one hemisphere at a time.
SpaceViewMap(int, int) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space, showing only one hemisphere at a time.
SpaceViewMap(long, int, int) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space, showing only one hemisphere at a time.
SpaceViewMap(long, int, int, double) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space, showing only one hemisphere at a time.
SpaceViewMap(long, int, int, Noise.Noise3D) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space, showing only one hemisphere at a time.
SpaceViewMap(long, int, int, Noise.Noise3D, double) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space, showing only one hemisphere at a time.
SpaceViewMap(WorldMapGenerator.SpaceViewMap) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
Copies the SpaceViewMap other to construct a new one that is exactly the same.
SPACING - Static variable in class squidpony.StringKit
 
SPANISH - Static variable in class squidpony.FakeLanguageGen
Imitation text from an approximation of Spanish (not using the variations spoken in Spain, but closer to Latin American forms of Spanish).
SpatialMap<I,​E> - Class in squidpony.squidgrid
A data structure that seems to be re-implemented often for games, this associates Coord positions and generic I identities with generic E elements.
SpatialMap() - Constructor for class squidpony.squidgrid.SpatialMap
Constructs a SpatialMap with capacity 32.
SpatialMap(int) - Constructor for class squidpony.squidgrid.SpatialMap
Constructs a SpatialMap with the given capacity
SpatialMap(Collection<Coord>, Collection<I>, Collection<E>) - Constructor for class squidpony.squidgrid.SpatialMap
Constructs a SpatialMap given collections of Coord, identity, and element; all 3 collections should have the same length, since this will use only up to the minimum length of these collections for how many it adds.
SpatialMap(Coord[], I[], E[]) - Constructor for class squidpony.squidgrid.SpatialMap
Constructs a SpatialMap given arrays of Coord, identity, and element; all 3 arrays should have the same length, since this will use only up to the minimum length of these arrays for how many it adds.
SpatialMap.SpatialTriple<I,​E> - Class in squidpony.squidgrid
 
SpatialTriple() - Constructor for class squidpony.squidgrid.SpatialMap.SpatialTriple
 
SpatialTriple(Coord, I, E) - Constructor for class squidpony.squidgrid.SpatialMap.SpatialTriple
 
SPECIAL_CASE_GENDER - squidpony.Messaging.NounTrait
Unpronounceable words that can be processed specially for more complex cases of pronoun preference.
specificName - Variable in class squidpony.StringConvert
 
SPHERE - squidpony.squidgrid.Radius
In an unobstructed area the FOV would be a sphere.
SphereMap() - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
Constructs a concrete WorldMapGenerator for a map that can be used to wrap a sphere (as with a texture on a 3D model), with seamless east-west wrapping, no north-south wrapping, and distortion that causes the poles to have significantly-exaggerated-in-size features while the equator is not distorted.
SphereMap(int, int) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
Constructs a concrete WorldMapGenerator for a map that can be used to wrap a sphere (as with a texture on a 3D model), with seamless east-west wrapping, no north-south wrapping, and distortion that causes the poles to have significantly-exaggerated-in-size features while the equator is not distorted.
SphereMap(long, int, int) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
Constructs a concrete WorldMapGenerator for a map that can be used to wrap a sphere (as with a texture on a 3D model), with seamless east-west wrapping, no north-south wrapping, and distortion that causes the poles to have significantly-exaggerated-in-size features while the equator is not distorted.
SphereMap(long, int, int, double) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
Constructs a concrete WorldMapGenerator for a map that can be used to wrap a sphere (as with a texture on a 3D model), with seamless east-west wrapping, no north-south wrapping, and distortion that causes the poles to have significantly-exaggerated-in-size features while the equator is not distorted.
SphereMap(long, int, int, Noise.Noise3D) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
Constructs a concrete WorldMapGenerator for a map that can be used to wrap a sphere (as with a texture on a 3D model), with seamless east-west wrapping, no north-south wrapping, and distortion that causes the poles to have significantly-exaggerated-in-size features while the equator is not distorted.
SphereMap(long, int, int, Noise.Noise3D, double) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
Constructs a concrete WorldMapGenerator for a map that can be used to wrap a sphere (as with a texture on a 3D model), with seamless east-west wrapping, no north-south wrapping, and distortion that causes the poles to have significantly-exaggerated-in-size features while the equator is not distorted.
SphereMap(WorldMapGenerator.SphereMap) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
Copies the SphereMap other to construct a new one that is exactly the same.
SpikeDistribution - Class in squidpony.squidmath
An IDistribution that produces results between -1.0 inclusive and 1.0 exclusive, but is much more likely to produce results near 0.0, and does not "round off" like a Gaussian curve around the midpoint.
SpikeDistribution() - Constructor for class squidpony.squidmath.SpikeDistribution
 
SpikeDistribution.SimpleSpikeDistribution - Class in squidpony.squidmath
A variant on SpikeDistribution that has its range shrunk and moved from [-1,1) to [0,1).
spill(short[], short[], int, IRNG) - 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, an IRNG, and a volume in cells, expands a random cell in start in a random Manhattan (diamond) direction equal, then continues to expand from random cells in start or the expanded area until it has filled volume cells, limiting any expansion to within bounds and returning the final expanded (limited) packed data.
spill(GreasedRegion, int, IRNG) - Method in class squidpony.squidmath.GreasedRegion
A randomized flood-fill that modifies this GreasedRegion so it randomly adds adjacent cells while staying inside the "on" cells of bounds, until GreasedRegion.size() is equal to volume or there are no more cells this can expand into.
Spill - Class in squidpony.squidgrid
A randomized flood-fill implementation that can be used for level generation (e.g.
Spill() - Constructor for class squidpony.squidgrid.Spill
Construct a Spill without a level to actually scan.
Spill(boolean[][]) - Constructor for class squidpony.squidgrid.Spill
Used to construct a Spill from the output of another.
Spill(boolean[][], Measurement) - Constructor for class squidpony.squidgrid.Spill
Used to construct a Spill from the output of another, specifying a distance calculation.
Spill(char[][]) - Constructor for class squidpony.squidgrid.Spill
Constructor meant to take a char[][] returned by IDungeonGenerator.generate(), or any other char[][] where '#' means a wall and anything else is a walkable tile.
Spill(char[][], char) - Constructor for class squidpony.squidgrid.Spill
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.
Spill(char[][], Measurement) - Constructor for class squidpony.squidgrid.Spill
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.
Spill(char[][], Measurement, IRNG) - Constructor for class squidpony.squidgrid.Spill
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.
Spill(char[][], Measurement, IStatefulRNG) - Constructor for class squidpony.squidgrid.Spill
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.
Spill(IRNG) - Constructor for class squidpony.squidgrid.Spill
Construct a Spill without a level to actually scan.
Spill(IStatefulRNG) - Constructor for class squidpony.squidgrid.Spill
Construct a Spill without a level to actually scan.
spillMap - Variable in class squidpony.squidgrid.MultiSpill
The cells that are filled by the a spiller with index n when it reaches its volume or limits will be equal to n; others will be -1.
spillMap - Variable in class squidpony.squidgrid.Spill
The cells that are filled by the Spill when it reaches its volume or limits will be true; others will be false.
SpillWorldMap - Class in squidpony.squidgrid.mapping
Generates a procedural world map and fills it with the requested number of factions, keeping some land unclaimed.
SpillWorldMap() - Constructor for class squidpony.squidgrid.mapping.SpillWorldMap
 
SpillWorldMap(int, int, String) - Constructor for class squidpony.squidgrid.mapping.SpillWorldMap
Constructs a SpillWorldMap using the given width, height, and world name, and uses the world name as the basis for all future random generation in this object.
spline(int, long) - Method in class squidpony.squidmath.MitchellNoise
 
split() - Method in class squidpony.squidmath.GreasedRegion
If this GreasedRegion stores multiple unconnected "on" areas, this finds each isolated area (areas that are only adjacent diagonally are considered separate from each other) and returns it as an element in an ArrayList of GreasedRegion, with one GreasedRegion per isolated area.
split(short[]) - Static method in class squidpony.squidmath.CoordPacker
Given a packed data array that encodes multiple unconnected "on" areas, this finds each isolated area (areas that are only adjacent diagonally are considered separate from each other) and returns it as an element in an ArrayList of short[], with one short[] array per isolated area.
split(String, String) - Static method in class squidpony.StringKit
Like String.split(String) but doesn't use any regex for splitting (delimiter is a literal String).
split8way() - Method in class squidpony.squidmath.GreasedRegion
If this GreasedRegion stores multiple unconnected "on" areas, this finds each isolated area (areas that are only adjacent diagonally are considered one area with this) and returns it as an element in an ArrayList of GreasedRegion, with one GreasedRegion per isolated area.
spokenLanguages - Variable in class squidpony.squidgrid.mapping.PoliticalMapper
Maps chars, as found in the returned array from generate(), to Strings that store the languages spoken in those nations, which could be user-assigned, unassigned, or randomly-generated.
spreadPattern - Variable in class squidpony.squidgrid.MultiSpill
Each key here is an initial point for a spiller passed to start(), and each value corresponds to a list of points that the spiller will randomly fill, starting with the key, in order of when they are reached.
spreadPattern - Variable in class squidpony.squidgrid.Spill
The list of points that the Spill will randomly fill, starting with what is passed to start(), in order of when they are reached.
spreadReachable(char[][], int, int, int, int, Radius, int) - Method in class squidpony.squidgrid.LOS
Returns true if a line can be drawn from the any of the points within spread cells of the start point, to any of the corresponding points at the same direction and distance from the target point, without intervening obstructions.
spreadReachable(double[][], int, int, int, int, Radius, int) - Method in class squidpony.squidgrid.LOS
Returns true if a line can be drawn from the any of the points within spread cells of the start point, to any of the corresponding points at the same direction and distance from the target point, without intervening obstructions.
SQUARE - squidpony.squidgrid.Radius
In an unobstructed area the FOV would be a square.
SQUARE_ROOMS_WITH_RANDOM_RECTS - squidpony.squidgrid.mapping.styled.TilesetType
Kinda...
squareDistance(Coord3D) - Method in class squidpony.squidmath.Coord3D
Returns the square of the linear distance between this coordinate point and the provided one.
SquareRoomsWithRandomRects - Class in squidpony.tileset
 
SquareRoomsWithRandomRects() - Constructor for class squidpony.tileset.SquareRoomsWithRandomRects
 
SquidID - Class in squidpony.squidmath
A UUID-like identifier; not compatible with Java's standard UUID but will work on GWT.
SquidID() - Constructor for class squidpony.squidmath.SquidID
Constructs a new random SquidID.
SquidID(int, int, int, int) - Constructor for class squidpony.squidmath.SquidID
Constructs a fixed SquidID with the given four 32-bit ints, which will be used exactly.
SquidID(long, long) - Constructor for class squidpony.squidmath.SquidID
Constructs a fixed SquidID with the given low and high 64-bit longs.
SquidIterator - Interface in squidpony.squidgrid.iterator
Iterators that return instances of Coord and that are useful in roguelikes.
SquidIterators - Class in squidpony.squidgrid.iterator
Instances of SquidIterator.
SquidIterators() - Constructor for class squidpony.squidgrid.iterator.SquidIterators
 
SquidIterators.AroundCounterClockWise - Class in squidpony.squidgrid.iterator
An iterator that iterates around a starting position (counter clockwise).
SquidIterators.BottomLeftToTopRight - Class in squidpony.squidgrid.iterator
Iterator that starts from the bottom left element of the grid, to the top right.
SquidIterators.CenteredSquare - Class in squidpony.squidgrid.iterator
An iterator that returns cells in a square around a location.
SquidIterators.Down - Class in squidpony.squidgrid.iterator
 
SquidIterators.Left - Class in squidpony.squidgrid.iterator
 
SquidIterators.Linear - Class in squidpony.squidgrid.iterator
An iterator to iterate from a starting position (inclusive) and going in one Direction.
SquidIterators.RectangleFromBottomLeftToTopRight - Class in squidpony.squidgrid.iterator
An iterator that starts from a cell and iterates from the bottom left to the top right, in the rectangle defined by the given width and height.
SquidIterators.Right - Class in squidpony.squidgrid.iterator
 
SquidIterators.Up - Class in squidpony.squidgrid.iterator
 
SquidIterators.VerticalUp - Class in squidpony.squidgrid.iterator
An iterator to iterate from a starting position (exclusive) and going up.
squidpony - package squidpony
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
squidpony.annotation - package squidpony.annotation
Annotations used elsewhere in SquidLib.
squidpony.panel - package squidpony.panel
Interfaces for panels in GUIs/TUIs; these do not depend on any particular implementation of a color type.
squidpony.squidai - package squidpony.squidai
Tools for finding paths, optimizing targets for area-of-effect (AOE) abilities, and evaluating influence on a grid.
squidpony.squidai.graph - package squidpony.squidai.graph
Graphs and graph algorithms used primarily (but not exclusively) for pathfinding.
squidpony.squidgrid - package squidpony.squidgrid
Tools for working with data on a grid, including LOS and FOV; overlaps with geometry code in squidpony.squidmath .
squidpony.squidgrid.iterator - package squidpony.squidgrid.iterator
Iterators that allow traversal of Coord points on a map's grid.
squidpony.squidgrid.mapping - package squidpony.squidgrid.mapping
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
squidpony.squidgrid.mapping.styled - package squidpony.squidgrid.mapping.styled
Support code for working with tiled dungeon generation; normally only TilesetType is used outside SquidLib.
squidpony.squidgrid.zone - package squidpony.squidgrid.zone
Ways to represent different types of areas in 2D space; not recommended, most new code uses GreasedRegion.
squidpony.squidmath - package squidpony.squidmath
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
squidpony.tileset - package squidpony.tileset
Internally used; see TilesetType members for the actual documentation.
SquidTags - Class in squidpony
Tags used by SquidLib when calling libgdx's logging system.
SquidTags() - Constructor for class squidpony.SquidTags
 
srng - Static variable in class squidpony.FakeLanguageGen
 
srng - Static variable in class squidpony.MonsterGen
 
srng - Variable in class squidpony.ProceduralMessaging.AssociatedName
 
sssText() - Method in enum squidpony.Messaging.NounTrait
 
ssText() - Method in enum squidpony.Messaging.NounTrait
 
stabilize() - Static method in class squidpony.squidmath.SquidID
Makes the IDs generated after calling this repeatable, with the same IDs generated in order after this is called.
stairsDown - Variable in class squidpony.squidgrid.mapping.DungeonGenerator
 
stairsDown - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
 
stairsUp - Variable in class squidpony.squidgrid.mapping.DungeonGenerator
 
stairsUp - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
 
standardCost - Variable in class squidpony.squidgrid.Adjacency
 
standardCosts - Variable in class squidpony.squidai.DijkstraMap
 
STAR_WARS_STYLE_NAMES - Static variable in class squidpony.WeightedLetterNamegen
 
Starfish32RNG - Class in squidpony.squidmath
A modification of Blackman and Vigna's xoroshiro64** generator; uses two 32-bit ints of state like Lathe32RNG but has better equidistribution.
Starfish32RNG() - Constructor for class squidpony.squidmath.Starfish32RNG
Creates a new generator seeded using two calls to Math.random().
Starfish32RNG(int) - Constructor for class squidpony.squidmath.Starfish32RNG
Constructs this Lathe32RNG by dispersing the bits of seed using Starfish32RNG.setSeed(int) across the two parts of state this has.
Starfish32RNG(int, int) - Constructor for class squidpony.squidmath.Starfish32RNG
Constructs this Lathe32RNG by calling Starfish32RNG.setState(int, int) on stateA and stateB as given; see that method for the specific details (stateA and stateB are kept as-is unless they are both 0).
Starfish32RNG(long) - Constructor for class squidpony.squidmath.Starfish32RNG
Constructs this Lathe32RNG by splitting the given seed across the two parts of state this has with Starfish32RNG.setState(long).
start - Variable in class squidpony.squidmath.AStarSearch
 
start(List<Coord>, int, Collection<Coord>) - Method in class squidpony.squidgrid.MultiSpill
Recalculate the spillMap and return the spreadPattern.
start(Coord, int, Set<Coord>) - Method in class squidpony.squidgrid.Spill
Recalculate the spillMap and return the spreadPattern.
start(OrderedMap<Coord, Double>, int, Collection<Coord>) - Method in class squidpony.squidgrid.MultiSpill
Recalculate the spillMap and return the spreadPattern.
startCacheX - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
startCacheY - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
startx - Variable in class squidpony.squidgrid.iterator.SquidIterators.VerticalUp
The starting X-coordinate
startX - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
starty - Variable in class squidpony.squidgrid.iterator.SquidIterators.VerticalUp
The starting Y-coordinate
startY - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
 
state - Variable in class squidpony.squidmath.BasicRandom32
 
state - Variable in class squidpony.squidmath.BasicRandom64
 
state - Variable in class squidpony.squidmath.FlawedRandomness.AddRotate
 
state - Variable in class squidpony.squidmath.FlawedRandomness.BigCounter
 
state - Variable in class squidpony.squidmath.IPointHash.IntImpl
 
state - Variable in class squidpony.squidmath.IPointHash.LongImpl
 
state - Variable in class squidpony.squidmath.LFSR
 
state - Variable in class squidpony.squidmath.LightRNG
 
state - Variable in class squidpony.squidmath.LongPeriodRNG
 
state - Variable in class squidpony.squidmath.NLFSR
 
state - Variable in class squidpony.squidmath.PermutedRNG
The state can be seeded with any value.
state - Variable in class squidpony.squidmath.PintRNG
 
state - Variable in class squidpony.squidmath.ThrustAltRNG
Can be any long value.
state - Variable in class squidpony.squidmath.VanDerCorputQRNG
 
stateA - Variable in class squidpony.squidmath.GoatRNG
Can be any long value.
stateA - Variable in class squidpony.squidmath.GWTRNG
 
stateA - Variable in class squidpony.squidmath.OrbitRNG
Can be any long value.
stateA - Variable in class squidpony.squidmath.SilkRNG
 
stateB - Variable in class squidpony.squidmath.GoatRNG
Can be any long value.
stateB - Variable in class squidpony.squidmath.GWTRNG
 
stateB - Variable in class squidpony.squidmath.OrbitRNG
 
stateB - Variable in class squidpony.squidmath.SilkRNG
 
StatefulRandomness - Interface in squidpony.squidmath
A simple interface for RandomnessSources that have the additional property of a state that can be re-set.
StatefulRNG - Class in squidpony.squidmath
A slight variant on RNG that always uses a stateful RandomessSource and so can have its state set or retrieved using setState() or getState().
StatefulRNG() - Constructor for class squidpony.squidmath.StatefulRNG
 
StatefulRNG(long) - Constructor for class squidpony.squidmath.StatefulRNG
Seeded constructor uses DiverRNG, which is of high quality, but low period (which rarely matters for games), and has good speed and tiny state size.
StatefulRNG(CharSequence) - Constructor for class squidpony.squidmath.StatefulRNG
String-seeded constructor uses the hash of the String as a seed for DiverRNG, which is of high quality, but low period (which rarely matters for games), and has good speed and tiny state size.
StatefulRNG(RandomnessSource) - Constructor for class squidpony.squidmath.StatefulRNG
 
step(double[], int[][], double, int[][], double) - Static method in class squidpony.squidmath.TuringPattern
Brings together the other methods to advance the substance simulation by one step, modifying substance in-place.
stepPartial(double[], int[][], double, int[][], double) - Static method in class squidpony.squidmath.TuringPattern
Computes the first part of a step, allowing other adjustments to be mixed in before finishing by calling TuringPattern.normalize(double[]).
sText() - Method in enum squidpony.Messaging.NounTrait
 
stolas - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
stolas - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
stolas_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
 
stolas_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
 
store() - Method in class squidpony.squidgrid.mapping.MixedGenerator
Internal use.
store() - Static method in class squidpony.squidmath.SquidID
 
storedMap - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RotatingSpaceMap
 
stringArrayHasher - Static variable in class squidpony.squidmath.CrossHash
Though the name suggests this only hashes String arrays, it can actually hash any CharSequence array as well.
StringConvert<T> - Class in squidpony
Used to standardize conversion for a given type, T, to and from a serialized String format.
StringConvert(boolean, CharSequence...) - Constructor for class squidpony.StringConvert
Constructs a StringConvert using a vararg or array of CharSequence objects, such as Strings, as well as a boolean flag to determine if the StringConvert works on an array instead of a normal object.
StringConvert(CharSequence...) - Constructor for class squidpony.StringConvert
Constructs a StringConvert using a vararg or array of CharSequence objects, such as Strings.
stringHasher - Static variable in class squidpony.squidmath.CrossHash
 
stringId - Static variable in class squidpony.ObText
 
stringify(T) - Method in class squidpony.StringConvert
 
StringKit - Class in squidpony
Various utility functions for dealing with Strings, CharSequences, and char[]s; this has lots of methods to convert to and from Strings and numbers, but also has tools to wrap long CharSequences to fit in a maximum width, join arrays of various items into long Strings, split/search/count occurrences of literal char arrays or CharSequences without using any regex, and generally tidy up generated text.
StringKit() - Constructor for class squidpony.StringKit
 
StringMarkup() - Constructor for class squidpony.panel.IMarkup.StringMarkup
 
STUTTER - Static variable in class squidpony.FakeLanguageGen.Modifier
For a character who has a 20% chance to repeat a starting consonant or vowel.
subMap(K, K) - Method in class squidpony.squidmath.Arrangement
 
subMap(K, K) - Method in class squidpony.squidmath.OrderedMap
 
subSet(Integer, Integer) - Method in class squidpony.squidmath.IntDoubleOrderedMap.KeySet
 
subSet(Integer, Integer) - Method in class squidpony.squidmath.IntIntOrderedMap.KeySet
 
subSet(Map.Entry<K, V>, Map.Entry<K, V>) - Method in class squidpony.squidmath.OrderedMap.MapEntrySet
 
subSet(K, K) - Method in class squidpony.squidmath.Arrangement.KeySet
 
subSet(K, K) - Method in class squidpony.squidmath.OrderedMap.KeySet
 
subSet(K, K) - Method in class squidpony.squidmath.OrderedSet
 
subSet(IntDoubleOrderedMap.MapEntry, IntDoubleOrderedMap.MapEntry) - Method in class squidpony.squidmath.IntDoubleOrderedMap.MapEntrySet
 
subSet(IntIntOrderedMap.MapEntry, IntIntOrderedMap.MapEntry) - Method in class squidpony.squidmath.IntIntOrderedMap.MapEntrySet
 
subtract(double) - Method in class squidpony.squidmath.Coord
Separately subtracts operand from the x and y positions of this Coord, rounding to the nearest int for each of x and y and producing a different Coord as their "difference."
subtract(double, double) - Method in class squidpony.squidmath.CoordDouble
 
subtract(int) - Method in class squidpony.squidmath.Coord
Separately subtracts operand from the x and y positions of this Coord, producing a different Coord as their "difference."
subtract(Coord) - Method in class squidpony.squidmath.Coord
Separately subtracts the x and y positions of other from this Coord, producing a different Coord as their "difference."
subtract(CoordDouble) - Method in class squidpony.squidmath.CoordDouble
 
sum(List<GreasedRegion>) - Static method in class squidpony.squidmath.GreasedRegion
Generates a 2D int array from a List of GreasedRegions, starting at all 0 and adding 1 to the int at a position once for every GreasedRegion that has that cell as "on." This means if you give 8 GreasedRegions to this method, it can produce any number between 0 and 8 in a cell; if you give 16 GreasedRegions, then it can produce any number between 0 and 16 in a cell.
sum(GreasedRegion...) - Static method in class squidpony.squidmath.GreasedRegion
Generates a 2D int array from an array or vararg of GreasedRegions, starting at all 0 and adding 1 to the int at a position once for every GreasedRegion that has that cell as "on." This means if you give 8 GreasedRegions to this method, it can produce any number between 0 and 8 in a cell; if you give 16 GreasedRegions, then it can produce any number between 0 and 16 in a cell.
sumDouble(List<GreasedRegion>) - Static method in class squidpony.squidmath.GreasedRegion
Generates a 2D double array from a List of GreasedRegions, starting at all 0 and adding 1 to the double at a position once for every GreasedRegion that has that cell as "on." This means if you give 8 GreasedRegions to this method, it can produce any number between 0 and 8 in a cell; if you give 16 GreasedRegions, then it can produce any number between 0 and 16 in a cell.
sumDouble(GreasedRegion...) - Static method in class squidpony.squidmath.GreasedRegion
Generates a 2D double array from an array or vararg of GreasedRegions, starting at all 0 and adding 1 to the double at a position once for every GreasedRegion that has that cell as "on." This means if you give 8 GreasedRegions to this method, it can produce any number between 0 and 8 in a cell; if you give 16 GreasedRegions, then it can produce any number between 0 and 16 in a cell.
sumInto(int[][], GreasedRegion...) - Static method in class squidpony.squidmath.GreasedRegion
Adds to an existing 2D int array with an array or vararg of GreasedRegions, adding 1 to the int in existing at a position once for every GreasedRegion that has that cell as "on." This means if you give 8 GreasedRegions to this method, it can increment by any number between 0 and 8 in a cell; if you give 16 GreasedRegions, then it can increase the value in existing by any number between 0 and 16 in a cell.
sumIntoDouble(double[][], GreasedRegion...) - Static method in class squidpony.squidmath.GreasedRegion
Adds to an existing 2D double array with an array or vararg of GreasedRegions, adding 1 to the double in existing at a position once for every GreasedRegion that has that cell as "on." This means if you give 8 GreasedRegions to this method, it can increment by any number between 0 and 8 in a cell; if you give 16 GreasedRegions, then it can increase the value in existing by any number between 0 and 16 in a cell.
sumMany(int, int, short[]...) - Static method in class squidpony.squidmath.CoordPacker
Takes multiple pieces of packed data as short[], encoded by pack() or another similar method of this class, and generates a 2D int array with the specified width and height and a starting value of 0 for all elements, then where every occurrence of a cell as "on" in a piece of packed data increments the cell's value in the returned array.
summary - Variable in class squidpony.FakeLanguageGen
 
sumWeighted(GreasedRegion[], int[]) - Static method in class squidpony.squidmath.GreasedRegion
Generates a 2D int array from an array of GreasedRegions and an array of weights, starting the 2D result at all 0 and, for every GreasedRegion that has that cell as "on," adding the int in the corresponding weights array at the position of that cell.
sumWeightedDouble(GreasedRegion[], double[]) - Static method in class squidpony.squidmath.GreasedRegion
Generates a 2D double array from an array of GreasedRegions and an array of weights, starting the 2D result at all 0 and, for every GreasedRegion that has that cell as "on," adding the double in the corresponding weights array at the position of that cell.
surface() - Method in class squidpony.squidmath.GreasedRegion
 
surface(int) - Method in class squidpony.squidmath.GreasedRegion
 
surface(short[], int, int, int) - Static method in class squidpony.squidmath.CoordPacker
Finds the area consisting of the "on" positions in packed that are within the specified depth distance of an "off" position or the edge of the map.
surface(short[], int, int, int, boolean) - Static method in class squidpony.squidmath.CoordPacker
Finds the area consisting of the "on" positions in packed that are within the specified depth distance of an "off" position or the edge of the map.
surface8way() - Method in class squidpony.squidmath.GreasedRegion
 
surface8way(int) - Method in class squidpony.squidmath.GreasedRegion
 
surfaces(short[], int, int, int) - Static method in class squidpony.squidmath.CoordPacker
Finds the concentric, progressively-smaller surfaces of packed as if packed was shrinking with each iteration.
surfaces(short[], int, int, int, boolean) - Static method in class squidpony.squidmath.CoordPacker
Finds the concentric, progressively-smaller surfaces of packed as if packed was shrinking with each iteration.
surfaceSeries(int) - Method in class squidpony.squidmath.GreasedRegion
 
surfaceSeries8way(int) - Method in class squidpony.squidmath.GreasedRegion
 
surfaceSeriesToLimit() - Method in class squidpony.squidmath.GreasedRegion
 
surfaceSeriesToLimit8way() - Method in class squidpony.squidmath.GreasedRegion
 
SWAHILI - Static variable in class squidpony.FakeLanguageGen
Swahili is one of the more commonly-spoken languages in sub-Saharan Africa, and serves mainly as a shared language that is often learned after becoming fluent in one of many other (vaguely-similar) languages of the area.
swap(int, int) - Method in class squidpony.squidmath.IntDoubleOrderedMap
Swaps the positions in the ordering for the given items, if they are both present.
swap(int, int) - Method in class squidpony.squidmath.IntIntOrderedMap
Swaps the positions in the ordering for the given items, if they are both present.
swap(int, int) - Method in class squidpony.squidmath.IntVLA
 
swap(int, int) - Method in class squidpony.squidmath.ShortVLA
 
swap(K, K) - Method in class squidpony.squidmath.Arrangement
Swaps the positions in the ordering for the given items, if they are both present.
swap(K, K) - Method in class squidpony.squidmath.OrderedMap
Swaps the positions in the ordering for the given items, if they are both present.
swap(K, K) - Method in class squidpony.squidmath.OrderedSet
Swaps the positions in the ordering for the given items, if they are both present.
swap(T[], int, int) - Static method in class squidpony.squidmath.AbstractRNG
Mutates the array arr by switching the contents at pos1 and pos2.
swap(T[], int, int) - Static method in class squidpony.squidmath.BasicRandom32
Mutates the array arr by switching the contents at pos1 and pos2.
swap(T[], int, int) - Static method in class squidpony.squidmath.BasicRandom64
Mutates the array arr by switching the contents at pos1 and pos2.
swapIndices(int, int) - Method in class squidpony.squidmath.Arrangement
Swaps the given indices in the ordering, if they are both ints between 0 and size.
swapIndices(int, int) - Method in class squidpony.squidmath.IntDoubleOrderedMap
Swaps the given indices in the ordering, if they are both valid int indices.
swapIndices(int, int) - Method in class squidpony.squidmath.IntIntOrderedMap
Swaps the given indices in the ordering, if they are both valid int indices.
swapIndices(int, int) - Method in class squidpony.squidmath.OrderedMap
Swaps the given indices in the ordering, if they are both valid int indices.
swapIndices(int, int) - Method in class squidpony.squidmath.OrderedSet
Swaps the given indices in the ordering, if they are both ints between 0 and size.
sway(double) - Static method in class squidpony.squidmath.NumberTools
Limited-use; takes any double and produces a double in the -1 to 1 range, with a graph of input to output that looks much like a sine wave, curving to have a flat slope when given an integer input and a steep slope when the input is halfway between two integers, smoothly curving at any points between those extremes.
sway(float) - Static method in class squidpony.squidmath.NumberTools
Limited-use; takes any float and produces a float in the -1f to 1f range, with a graph of input to output that looks much like a sine wave, curving to have a flat slope when given an integer input and a steep slope when the input is halfway between two integers, smoothly curving at any points between those extremes.
Sway1D() - Constructor for class squidpony.squidmath.Noise.Sway1D
 
Sway1D(long) - Constructor for class squidpony.squidmath.Noise.Sway1D
 
Sway2D() - Constructor for class squidpony.squidmath.Noise.Sway2D
 
Sway2D(long) - Constructor for class squidpony.squidmath.Noise.Sway2D
 
swayAngleRandomized(long, float) - Static method in class squidpony.squidmath.NumberTools
A 1D "noise" method that produces smooth transitions like NumberTools.sway(float), but also wrapping around at pi * 2 so this can be used to get smoothly-changing random angles.
swayRandomized(int, double) - Static method in class squidpony.squidmath.NumberTools
A variant on NumberTools.swayRandomized(long, double) that takes an int seed instead of a long, and is optimized for usage on GWT.
swayRandomized(int, float) - Static method in class squidpony.squidmath.NumberTools
A variant on NumberTools.swayRandomized(long, float) that takes an int seed instead of a long, and is optimized for usage on GWT.
swayRandomized(long, double) - Static method in class squidpony.squidmath.NumberTools
A mix of the smooth transitions of NumberTools.sway(double) with (seeded) random peaks and valleys between -1.0 and 1.0 (both exclusive).
swayRandomized(long, float) - Static method in class squidpony.squidmath.NumberTools
A mix of the smooth transitions of NumberTools.sway(float) with (seeded) random peaks and valleys between -1f and 1f (both exclusive).
swayTight(double) - Static method in class squidpony.squidmath.NumberTools
Limited-use; takes any double and produces a double in the 0.0 to 1.0 range, with a graph of input to output that looks much like a sine wave, curving to have a flat slope when given an integer input and a steep slope when the input is halfway between two integers, smoothly curving at any points between those extremes.
swayTight(float) - Static method in class squidpony.squidmath.NumberTools
Limited-use; takes any float and produces a float in the 0f to 1f range, with a graph of input to output that looks much like a sine wave, curving to have a flat slope when given an integer input and a steep slope when the input is halfway between two integers, smoothly curving at any points between those extremes.
syllableEndFrequency - Variable in class squidpony.FakeLanguageGen
 
syllableFrequencies - Variable in class squidpony.FakeLanguageGen
 
SymmetryDungeonGenerator - Class in squidpony.squidgrid.mapping
A variant on MixedGenerator that creates bi-radially symmetric maps (basically a yin-yang shape).
SymmetryDungeonGenerator(int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
This prepares a map generator that will generate a map with the given width and height, using the given RNG.
SymmetryDungeonGenerator(int, int, IRNG, List<Coord>) - Constructor for class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
This prepares a map generator that will generate a map with the given width and height, using the given RNG.
SymmetryDungeonGenerator(int, int, IRNG, OrderedMap<Coord, List<Coord>>) - Constructor for class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
This prepares a map generator that will generate a map with the given width and height, using the given RNG.
SymmetryDungeonGenerator(int, int, IRNG, OrderedMap<Coord, List<Coord>>, float) - Constructor for class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
This prepares a map generator that will generate a map with the given width and height, using the given RNG.
SymmetryDungeonGenerator(int, int, IRNG, OrderedSet<Coord>) - Constructor for class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
This prepares a map generator that will generate a map with the given width and height, using the given RNG.
$ 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