Index
$ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
M
- m - Static variable in class squidpony.ObText
- mainForm - Variable in class squidpony.MonsterGen.Chimera
- makeArrange(T...) - Static method in class squidpony.Maker
-
Makes a Arrangement (Arrange) of T given an array or vararg of T elements.
- makeBiomeMap() - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
- makeBiomes(WorldMapGenerator) - Method in interface squidpony.squidgrid.mapping.WorldMapGenerator.BiomeMapper
-
Analyzes the last world produced by the given WorldMapGenerator and uses all of its generated information to assign biome codes for each cell (along with heat and moisture codes).
- makeBiomes(WorldMapGenerator) - Method in class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
-
Analyzes the last world produced by the given WorldMapGenerator and uses all of its generated information to assign biome codes for each cell (along with heat and moisture codes).
- makeBiomes(WorldMapGenerator) - Method in class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
-
Analyzes the last world produced by the given WorldMapGenerator and uses all of its generated information to assign biome codes for each cell (along with heat and moisture codes).
- makeDoors(ArrayList<char[][]>, ArrayList<char[][]>, char[][], char[][]) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
- makeEOM() - Static method in class squidpony.Maker
-
Makes an empty EnumOrderedMap (EOM); needs key and value types to be specified in order to work.
- makeEOM(K, V, Object...) - Static method in class squidpony.Maker
-
Makes an EnumOrderedMap (EOM) with key and value types inferred from the types of k0 and v0, and considers all remaining parameters key-value pairs, casting the Objects at positions 0, 2, 4...
- makeEOS() - Static method in class squidpony.Maker
-
Makes an empty EnumOrderedSet (EOS); needs item type to be specified in order to work.
- makeEOS(T, T...) - Static method in class squidpony.Maker
-
Makes a EnumOrderedSet (OS) of the enum type T given at least one T element followed by an array or vararg of any number of additional T elements.
- makeEven() - Method in class squidpony.squidmath.Coord
-
Gets a Coord based off this instance but with odd values for x and/or y decreased to the nearest even number.
- makeFlowerName() - Method in class squidpony.Thesaurus
-
Generates a random possible name for a plant or tree, such as "tulip of Jirui" or "Komert's thorny lilac".
- makeFlowerName(FakeLanguageGen) - Method in class squidpony.Thesaurus
-
Generates a random possible name for a plant or tree, such as "tulip of Jirui" or "Komert's thorny lilac", with the FakeLanguageGen already available instead of randomly created.
- makeFruitName() - Method in class squidpony.Thesaurus
-
Generates a random possible name for a plant or tree, such as "green lime-melon" or "Ung's date".
- makeFruitName(FakeLanguageGen) - Method in class squidpony.Thesaurus
-
Generates a random possible name for a plant or tree, such as "green lime-melon" or "Ung's date", with the FakeLanguageGen already available instead of randomly created.
- makeHeightMap() - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
- makeHM() - Static method in class squidpony.Maker
-
Makes an empty HashMap (HM); needs key and value types to be specified in order to work.
- makeHM(K, V, Object...) - Static method in class squidpony.Maker
-
Makes a HashMap (HM) with key and value types inferred from the types of k0 and v0, and considers all parameters key-value pairs, casting the Objects at positions 0, 2, 4...
- makeHS(T) - Static method in class squidpony.Maker
-
Makes a HashSet (HS) of T given a single T element.
- makeHS(T...) - Static method in class squidpony.Maker
-
Makes a HashSet (HS) of T given an array or vararg of T elements.
- makeK2() - Static method in class squidpony.Maker
-
Makes an empty K2 (two-key set/bimap); needs A and B key types to be specified in order to work.
- makeK2(float, A, B, Object...) - Static method in class squidpony.Maker
-
Makes a K2 (two-key set/bimap) with the given load factor (which should be between 0.1 and 0.9), A and B key types inferred from the types of a0 and b0, and considers all parameters A-B pairs, casting the Objects at positions 0, 2, 4...
- makeK2(A, B, Object...) - Static method in class squidpony.Maker
-
Makes a K2 (two-key set/bimap) with A and B key types inferred from the types of a0 and b0, and considers all parameters A-B pairs, casting the Objects at positions 0, 2, 4...
- makeKeyArray(int, String) - Static method in class squidpony.Garbler
-
If you need to produce an long array as a key for
Garbler.garble(String, long[])
when you only have a String, you can use this method if the String isn't too small (at least 8 char Strings should be fine). - makeLake(ArrayList<char[][]>, ArrayList<char[][]>) - Method in class squidpony.squidgrid.mapping.SectionDungeonGenerator
- makeLHM() - Static method in class squidpony.Maker
-
Makes an empty LinkedHashMap (LHM); needs key and value types to be specified in order to work.
- makeLHM(K, V, Object...) - Static method in class squidpony.Maker
-
Makes a LinkedHashMap (LHM) with key and value types inferred from the types of k0 and v0, and considers all parameters key-value pairs, casting the Objects at positions 0, 2, 4...
- makeLHS(T) - Static method in class squidpony.Maker
-
Makes a LinkedHashSet (LHS) of T given a single T element.
- makeLHS(T...) - Static method in class squidpony.Maker
-
Makes a LinkedHashSet (LHS) of T given an array or vararg of T elements.
- makeList(T) - Static method in class squidpony.Maker
-
Makes an ArrayList of T given a single T element; avoids creating an array for varargs as
Maker.makeList(Object[])
would do, but only allows one item. - makeList(T...) - Static method in class squidpony.Maker
-
Makes an ArrayList of T given an array or vararg of T elements.
- makeMap() - Static method in class squidpony.squidmath.IntIntOrderedMap
-
Makes an empty IntIntOrderedMap.This method is provided for completeness relative to makeMap() with 2 or more parameters.
- makeMap() - Static method in class squidpony.squidmath.OrderedMap
-
Makes an empty OrderedMap (OM); needs key and value types to be specified in order to work.
- makeMap() - Static method in class squidpony.squidmath.UnorderedMap
-
Makes an empty OrderedMap (OM); needs key and value types to be specified in order to work.
- makeMap(int, int, int...) - Static method in class squidpony.squidmath.IntIntOrderedMap
-
Makes an IntIntOrderedMap using the given int keys and values in alternating key-value-key-value order.
- makeMap(K, V, Object...) - Static method in class squidpony.squidmath.OrderedMap
-
Makes an OrderedMap (OM) with the given load factor (which should be between 0.1 and 0.9), key and value types inferred from the types of k0 and v0, and considers all remaining parameters key-value pairs, casting the Objects at positions 0, 2, 4...
- makeMap(K, V, Object...) - Static method in class squidpony.squidmath.UnorderedMap
-
Makes an OrderedMap (OM) with the given load factor (which should be between 0.1 and 0.9), key and value types inferred from the types of k0 and v0, and considers all remaining parameters key-value pairs, casting the Objects at positions 0, 2, 4...
- makeMatcher() - Static method in class squidpony.ObText
-
Can be used to help reading sequences of Strings with ObText-style quotation marking their boundaries.
- makeMatcher(CharSequence) - Static method in class squidpony.Converters
- makeMatcher(CharSequence) - Static method in class squidpony.ObText
-
Can be used to help reading sequences of Strings with ObText-style quotation marking their boundaries.
- makeMatcherNoComments(CharSequence) - Static method in class squidpony.ObText
-
Can be used to help reading sequences of Strings with ObText-style quotation marking their boundaries, but no comments (which allows some additional characters to be used in bare words, like '#').
- makeNationMap() - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
- makeNationName() - Method in class squidpony.Thesaurus
-
Generates a random possible name for a nation, such as "Iond-Gouccief Alliance" or "The Last Drayo Commonwealth".
- makeNationName(FakeLanguageGen) - Method in class squidpony.Thesaurus
-
Generates a random possible name for a nation, such as "Iond-Gouccief Alliance" or "The Last Drayo Commonwealth", with the FakeLanguageGen already available instead of randomly created.
- makeNutName() - Method in class squidpony.Thesaurus
-
Generates a random possible name for a plant or tree, such as "nut of Gikoim" or "Pelyt's cashew".
- makeNutName(FakeLanguageGen) - Method in class squidpony.Thesaurus
-
Generates a random possible name for a plant or tree, such as "nut of Gikoim" or "Pelyt's cashew", with the FakeLanguageGen already available instead of randomly created.
- makeOdd() - Method in class squidpony.squidmath.Coord
-
Gets a Coord based off this instance but with even values for x and/or y increased to the nearest odd number.
- makeOM() - Static method in class squidpony.Maker
-
Makes an empty OrderedMap (OM); needs key and value types to be specified in order to work.
- makeOM(float, K, V, Object...) - Static method in class squidpony.Maker
-
Makes an OrderedMap (OM) with the given load factor (which should be between 0.1 and 0.9), key and value types inferred from the types of k0 and v0, and considers all remaining parameters key-value pairs, casting the Objects at positions 0, 2, 4...
- makeOM(K, V, Object...) - Static method in class squidpony.Maker
-
Makes an OrderedMap (OM) with key and value types inferred from the types of k0 and v0, and considers all parameters key-value pairs, casting the Objects at positions 0, 2, 4...
- makeOS(T) - Static method in class squidpony.Maker
-
Makes an OrderedSet of T given a single T element; avoids creating an array for varargs as
Maker.makeOS(Object[])
would do, but only allows one item. - makeOS(T...) - Static method in class squidpony.Maker
-
Makes an OrderedSet (OS) of T given an array or vararg of T elements.
- makePlantName() - Method in class squidpony.Thesaurus
-
Generates a random possible name for a plant or tree, such as "Ikesheha's maple" or "sugarleaf birch".
- makePlantName(FakeLanguageGen) - Method in class squidpony.Thesaurus
-
Generates a random possible name for a plant or tree, such as "Ikesheha's maple" or "sugarleaf birch", with the FakeLanguageGen already available instead of randomly created.
- makePotionDescription() - Method in class squidpony.Thesaurus
-
Generates a random possible description for a potion in a container, such as "a smoky glass flask containing a few drops of an orange tonic", "a milk carton filled with a red fluid", "a shining silver bottle filled with an effervescent violet potion", or "a wineskin filled with a black serum".
- Maker - Class in squidpony
-
Utility methods for more easily constructing data structures, particularly those in Java's standard library.
- Maker() - Constructor for class squidpony.Maker
- makeRepeats(Object...) - Static method in class squidpony.squidgrid.mapping.WildMap
-
Meant for generating large ArrayLists of Strings where an individual String may occur quite a few times.
- makeShuffledRepeats(IRNG, Object...) - Static method in class squidpony.squidgrid.mapping.WildMap
- makeThin() - Method in class squidpony.squidgrid.mapping.ThinDungeonGenerator
- makeUOS(T) - Static method in class squidpony.Maker
-
Makes an UnorderedSet of T given a single T element; avoids creating an array for varargs as
Maker.makeOS(Object[])
would do, but only allows one item. - makeUOS(T...) - Static method in class squidpony.Maker
-
Makes an UnorderedSet (UOS) of T given an array or vararg of T elements.
- makeVegetation(IRNG, int, double, FakeLanguageGen) - Static method in class squidpony.squidgrid.mapping.WildMap
- makeWeightedMap() - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
- MALAY - Static variable in class squidpony.FakeLanguageGen
-
An approximation of the Malay language or any of its close relatives, such as Indonesian.
- MALE_GENDER - squidpony.Messaging.NounTrait
-
Male pronoun preference, as in "He is his own boss."
- malphas - Static variable in class squidpony.squidmath.CrossHash.Curlup
- malphas - Static variable in class squidpony.squidmath.CrossHash.Yolk
- malphas_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- malphas_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- MANHATTAN - squidpony.squidgrid.Measurement
-
The distance it takes when only the four primary directions can be moved in.
- MANHATTAN - squidpony.squidmath.AStarSearch.SearchType
-
The distance it takes when only the four primary directions can be moved in.
- MANHATTAN - Static variable in interface squidpony.squidai.graph.Heuristic
-
A predefined Heuristic for Coord nodes in a 2D plane where diagonal movement is estimated as costing twice as much as orthogonal movement.
- MANHATTAN - Static variable in class squidpony.squidmath.FastNoise
- manhattanDistance(Coord3D) - Method in class squidpony.squidmath.Coord3D
-
Returns the Manhattan distance between this point and the provided one.
- MAORI - Static variable in class squidpony.FakeLanguageGen
-
Imitation text from an approximation of the Maori language, spoken in New Zealand both today and historically, and closely related to some other Polynesian languages.
- map - Variable in class squidpony.squidgrid.mapping.DenseRoomMapGenerator
- map - Variable in class squidpony.squidgrid.mapping.MapModule
-
The contents of this section of map.
- map - Variable in class squidpony.squidgrid.mapping.ModularMapGenerator
- map - Variable in class squidpony.squidgrid.mapping.OrganicMapGenerator
- map - Variable in class squidpony.squidgrid.mapping.RoomFinder
-
A copy of the dungeon map, however it was passed to the constructor.
- map - Variable in class squidpony.squidgrid.mapping.SectionMap
- mapEntrySet() - Method in class squidpony.squidmath.Arrangement
- MapEntrySet() - Constructor for class squidpony.squidmath.IntDoubleOrderedMap.MapEntrySet
- MapEntrySet() - Constructor for class squidpony.squidmath.IntIntOrderedMap.MapEntrySet
- MapEntrySet() - Constructor for class squidpony.squidmath.OrderedMap.MapEntrySet
- MapModule - Class in squidpony.squidgrid.mapping
-
A subsection of a (typically modern-day or sci-fi) area map that can be placed by ModularMapGenerator.
- MapModule() - Constructor for class squidpony.squidgrid.mapping.MapModule
- MapModule(char[][]) - Constructor for class squidpony.squidgrid.mapping.MapModule
-
Constructs a MapModule given only a 2D char array as the contents of this section of map.
- MapModule(char[][], GreasedRegion, Coord, Coord) - Constructor for class squidpony.squidgrid.mapping.MapModule
-
Constructs a MapModule from the given arguments without modifying them, copying map without changing its size, copying validDoors, and using the same min and max (which are immutable, so they can be reused).
- MapModule(MapModule) - Constructor for class squidpony.squidgrid.mapping.MapModule
-
Copies another MapModule and uses it to construct a new one.
- mappings - Variable in class squidpony.Thesaurus
- mapToSample(char[][], char...) - Static method in class squidpony.squidgrid.MimicFill
-
Converts a 2D char array map to a 2D boolean array, where any chars in the array or vararg yes will result in true in the returned array at that position and any other chars will result in false.
- marax - Static variable in class squidpony.squidmath.CrossHash.Curlup
- marax - Static variable in class squidpony.squidmath.CrossHash.Yolk
- marax_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- marax_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- marbas - Static variable in class squidpony.squidmath.CrossHash.Curlup
- marbas - Static variable in class squidpony.squidmath.CrossHash.Yolk
- marbas_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- marbas_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- marchosias - Static variable in class squidpony.squidmath.CrossHash.Curlup
- marchosias - Static variable in class squidpony.squidmath.CrossHash.Yolk
- marchosias_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- marchosias_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- mark(int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- mark(int, int) - Method in class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
-
Internal use.
- mark(Coord) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- marked - Variable in class squidpony.squidgrid.mapping.MixedGenerator
- markEnvironment(int, int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markEnvironment(int, int, int) - Method in class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
-
Internal use.
- markEnvironmentCave(int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markEnvironmentCorridor(int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markEnvironmentRoom(int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markEnvironmentWalls() - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- MarkovChar - Class in squidpony
-
A simple Markov chain text generator; call
MarkovChar.analyze(CharSequence)
once on a large sample text, then you can callMarkovChar.chain(long)
many times to get odd-sounding "remixes" of the sample text. - MarkovChar() - Constructor for class squidpony.MarkovChar
- MarkovObject<T> - Class in squidpony
-
A simple Markov chain generator that works with Lists of some type instead of text like
MarkovTextLimited
. - MarkovObject() - Constructor for class squidpony.MarkovObject
- MarkovText - Class in squidpony
-
A simple Markov chain text generator; call
MarkovText.analyze(CharSequence)
once on a large sample text, then you can callMarkovText.chain(long)
many times to get odd-sounding "remixes" of the sample text. - MarkovText() - Constructor for class squidpony.MarkovText
- MarkovTextLimited - Class in squidpony
-
A simple Markov chain text generator; it is called "Limited" because it only can be used as an order-1 Markov chain, meaning only one prior word is looked at.
- MarkovTextLimited() - Constructor for class squidpony.MarkovTextLimited
- markPiercing(int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markPiercing(int, int) - Method in class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
-
Internal use.
- markPiercing(Coord) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markPiercingCave(Coord) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markPiercingRoom(int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- MARKS - Static variable in class squidpony.StringKit
- markSample(boolean[][], Iterable<Coord>) - Static method in class squidpony.squidgrid.MimicFill
-
Given a 2D boolean array sample (usually a final product of this class' fill() method) and an Iterable of Coord (such as a List or Set of Coord, but a Region can also work), copies sample, then marks every Coord in points as true if it is in-bounds, and returns the modified copy of sample.
- markupMatcher - Variable in class squidpony.NaturalLanguageCipher
- mask - Variable in class squidpony.squidmath.Arrangement
-
The mask for wrapping a position counter.
- mask - Variable in class squidpony.squidmath.IntDoubleOrderedMap
-
The mask for wrapping a position counter.
- mask - Variable in class squidpony.squidmath.IntIntOrderedMap
-
The mask for wrapping a position counter.
- mask - Variable in class squidpony.squidmath.IntSet
-
A bitmask used to confine hashcodes to the size of the table.
- mask - Variable in class squidpony.squidmath.OrderedMap
-
The mask for wrapping a position counter.
- mask - Variable in class squidpony.squidmath.OrderedSet
-
The mask for wrapping a position counter.
- mask - Variable in class squidpony.squidmath.UnorderedMap
-
The mask for wrapping a position counter.
- mask - Variable in class squidpony.squidmath.UnorderedSet
-
The mask for wrapping a position counter.
- mask(char[][], char) - Method in class squidpony.squidmath.GreasedRegion
-
Returns a copy of map where if a cell is "on" in this GreasedRegion, this keeps the value in map intact, and where a cell is "off", it instead writes the char filler.
- mask(char[][], short[], char) - Static method in class squidpony.squidmath.CoordPacker
-
Given a 2D char array for a map, a piece of packed data defining a region to use from that map, and a filler char, produces a 2D char array where all positions that are "off" in packed are filled with filler, and the rest are the same as in map.
- mask(short[][], short) - Method in class squidpony.squidmath.GreasedRegion
-
Returns a copy of map where if a cell is "on" in this GreasedRegion, this keeps the value in map intact, and where a cell is "off", it instead writes the short filler.
- mask16 - Static variable in class squidpony.StringKit
- mask32 - Static variable in class squidpony.StringKit
- mask64 - Static variable in class squidpony.StringKit
- mask8 - Static variable in class squidpony.StringKit
- MaskedShapeGenerator - Class in squidpony.squidmath
-
Generates procedural shapes based on a mask that determines what values can exist at a location.
- MaskedShapeGenerator() - Constructor for class squidpony.squidmath.MaskedShapeGenerator
- MasonNoise - Class in squidpony.squidmath
-
Noise functions that delegate work to the best-suited noise type for the requested dimensionality, plus some extra functions that affect a large multi-dimensional area at once.
- MasonNoise() - Constructor for class squidpony.squidmath.MasonNoise
- MasonNoise(long) - Constructor for class squidpony.squidmath.MasonNoise
- matchingMeasurement() - Method in enum squidpony.squidgrid.Radius
-
Gets the appropriate
Measurement
to pass to a constructor if you already have a Radius. - matchingMeasurement(Radius) - Static method in enum squidpony.squidgrid.Measurement
-
Gets the appropriate Measurement that matches a Radius enum.
- matchingRadius() - Method in enum squidpony.squidgrid.Measurement
-
Gets the appropriate Radius corresponding to a Measurement.
- MathExtras - Class in squidpony.squidmath
-
Mathematical operations not provided by
java.lang.Math
. - max - Variable in class squidpony.squidgrid.mapping.MapModule
-
The maximum point on the bounding rectangle of the room, including walls.
- MAX_DIM - Variable in class squidpony.squidmath.MitchellNoise
- max_tiles - Variable in class squidpony.squidgrid.mapping.styled.Tileset
- maxAdjacent - Variable in class squidpony.squidgrid.Adjacency
-
The maximum number of states that can be considered adjacent; when rotations are present and have a cost this is almost always 3 (move forward, turn left, turn right), and in most other cases this is 4 (when using Manhattan distance) or 8 (for other distance metrics).
- maxAxisDistance(Coord3D) - Method in class squidpony.squidmath.Coord3D
-
Returns the largest difference between the two points along any one axis.
- maxChars - Variable in class squidpony.FakeLanguageGen.SentenceForm
- maxContents - Variable in class squidpony.squidgrid.mapping.WildMap.MixedWildMap
- maxDistance - Variable in class squidpony.squidai.Reach
-
The maximum distance in cells that this Reach can target.
- maxDoubleOf(double, int) - Method in class squidpony.squidmath.RNG
-
Gets the maximum random double between 0 and
bound
generated out oftrials
generated numbers. - maxFill - Variable in class squidpony.squidmath.Arrangement
-
Threshold after which we rehash.
- maxFill - Variable in class squidpony.squidmath.IntDoubleOrderedMap
-
Threshold after which we rehash.
- maxFill - Variable in class squidpony.squidmath.IntIntOrderedMap
-
Threshold after which we rehash.
- maxFill - Variable in class squidpony.squidmath.OrderedMap
-
Threshold after which we rehash.
- maxFill - Variable in class squidpony.squidmath.OrderedSet
-
Threshold after which we rehash.
- maxFill - Variable in class squidpony.squidmath.UnorderedMap
-
Threshold after which we rehash.
- maxFill - Variable in class squidpony.squidmath.UnorderedSet
-
Threshold after which we rehash.
- maxFill(int, float) - Static method in class squidpony.squidmath.Arrangement
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(int, float) - Static method in class squidpony.squidmath.IntDoubleOrderedMap
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(int, float) - Static method in class squidpony.squidmath.IntIntOrderedMap
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(int, float) - Static method in class squidpony.squidmath.OrderedMap
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(int, float) - Static method in class squidpony.squidmath.OrderedSet
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(int, float) - Static method in class squidpony.squidmath.UnorderedMap
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(int, float) - Static method in class squidpony.squidmath.UnorderedSet
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(long, float) - Static method in class squidpony.squidmath.Arrangement
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(long, float) - Static method in class squidpony.squidmath.OrderedSet
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFill(long, float) - Static method in class squidpony.squidmath.UnorderedSet
-
Returns the maximum number of entries that can be filled before rehashing.
- maxFloatOf(float, int) - Method in class squidpony.squidmath.RNG
-
Gets the maximum random float between 0 and
bound
generated out oftrials
generated numbers. - maxFloors - Variable in class squidpony.squidgrid.mapping.WildMap.MixedWildMap
- maxHeat - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- maxHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalHammerMap
- maxHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalMap
- maxHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.HyperellipticalMap
- maxHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMap
- maxHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RotatingSpaceMap
- maxHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RoundSideMap
- maxHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
- maxHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalHammerMap
- maxHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalMap
- maxHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.HyperellipticalMap
- maxHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMap
- maxHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RotatingSpaceMap
- maxHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RoundSideMap
- maxHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
- maxHeight - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- maxHeightActual - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- Maximums - Class in squidpony.squidgrid.mapping.styled
-
Part of the JSON that defines a tileset.
- Maximums() - Constructor for class squidpony.squidgrid.mapping.styled.Maximums
-
Probably not something you will construct manually.
- maxIntOf(int, int) - Method in class squidpony.squidmath.RNG
-
Gets the maximum random int between 0 and
bound
generated out oftrials
generated numbers. - maxLongOf(long, int) - Method in class squidpony.squidmath.RNG
-
Gets the maximum random long between 0 and
bound
generated out oftrials
generated numbers. - maxWet - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- maxWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalHammerMap
- maxWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalMap
- maxWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.HyperellipticalMap
- maxWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMap
- maxWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RotatingSpaceMap
- maxWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RoundSideMap
- maxWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
- maxWords - Variable in class squidpony.FakeLanguageGen.SentenceForm
- mayContainTarget(Collection<Coord>) - Method in interface squidpony.squidai.AOE
-
Given a Set of Points that the producer of the AOE wants to include in the region of this AOE, this method does a quick approximation to see if there is any possibility that the AOE as currently configured might include one of those Points within itself.
- mayContainTarget(Collection<Coord>) - Method in class squidpony.squidai.BeamAOE
- mayContainTarget(Collection<Coord>) - Method in class squidpony.squidai.BlastAOE
- mayContainTarget(Collection<Coord>) - Method in class squidpony.squidai.BurstAOE
- mayContainTarget(Collection<Coord>) - Method in class squidpony.squidai.CloudAOE
- mayContainTarget(Collection<Coord>) - Method in class squidpony.squidai.ConeAOE
- mayContainTarget(Collection<Coord>) - Method in class squidpony.squidai.LineAOE
- mayContainTarget(Collection<Coord>) - Method in class squidpony.squidai.PointAOE
- maze - Static variable in class squidpony.squidgrid.MimicFill
-
Predefined sample; produces a suitable filler for a maze (but it is unlikely to connect both ends like a maze).
- MAZE_A - squidpony.squidgrid.mapping.styled.TilesetType
-
A generally good maze; MAZE_A and MAZE_B should both be interchangeable, but not on the same map.
- MAZE_B - squidpony.squidgrid.mapping.styled.TilesetType
-
A generally good maze; MAZE_A and MAZE_B should both be interchangeable, but not on the same map.
- Maze2Wide - Class in squidpony.tileset
- Maze2Wide() - Constructor for class squidpony.tileset.Maze2Wide
- mazeFX - Variable in class squidpony.squidgrid.mapping.SectionDungeonGenerator
-
The approximate percentage of non-room, non-cave, non-edge-of-map wall cells to try to fill with maze.
- MazePlus2Wide - Class in squidpony.tileset
- MazePlus2Wide() - Constructor for class squidpony.tileset.MazePlus2Wide
- measurement - Variable in class squidpony.squidai.DijkstraMap
-
This affects how distance is measured on diagonal directions vs.
- measurement - Variable in class squidpony.squidgrid.Adjacency
-
This affects how distance is measured on diagonal directions vs.
- measurement - Variable in class squidpony.squidgrid.MultiSpill
-
This affects how distance is measured on diagonal directions vs.
- measurement - Variable in class squidpony.squidgrid.SoundMap
-
This affects how sound travels on diagonal directions vs.
- measurement - Variable in class squidpony.squidgrid.Spill
-
This affects how distance is measured on diagonal directions vs.
- Measurement - Enum in squidpony.squidgrid
-
A way of measuring what cells are adjacent and how much further any adjacent cells are from other adjacent cells.
- mediumWaterLower - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- mediumWaterUpper - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- members - Variable in class squidpony.Messaging.Group
- merge(ArrayList<char[][]>, int, int) - Static method in class squidpony.squidgrid.mapping.RoomFinder
-
Merges multiple 2D char arrays where the '#' character means "no value", and combines them so all cells with value are on one map, with '#' filling any other cells.
- merge1000(IRNG, String[], String[], double) - Method in class squidpony.FakeLanguageGen
- MerlinNoise - Class in squidpony.squidmath
-
Really strange noise functions that typically produce curving black and white shapes when rendered.
- MerlinNoise() - Constructor for class squidpony.squidmath.MerlinNoise
-
Constructor for a default MerlinNoise instance with 8-bit output and resolution 3 (yielding 8x8-cell zones that share their corners).
- MerlinNoise(long, int, int) - Constructor for class squidpony.squidmath.MerlinNoise
-
Constructor for a MerlinNoise instance that allows specification of all parameters.
- MersenneTwister - Class in squidpony.squidmath
-
Mersenne Twister, 64-bit version as a RandomnessSource.
- MersenneTwister() - Constructor for class squidpony.squidmath.MersenneTwister
-
Seeds this using two calls to Math.random().
- MersenneTwister(long) - Constructor for class squidpony.squidmath.MersenneTwister
-
Seeds this with the given long, which will be used to affect the large state.
- MersenneTwister(long[]) - Constructor for class squidpony.squidmath.MersenneTwister
-
Seeds this with the given long array, which will be used to affect the large state, and not used directly.
- Messaging - Class in squidpony
-
Helps handle formation of messages from a template, using correct pronouns and helping handle various idiosyncrasies in English-language text.
- Messaging() - Constructor for class squidpony.Messaging
- Messaging.BeingSubstitution - Class in squidpony
- Messaging.Group - Class in squidpony
- Messaging.NounTrait - Enum in squidpony
-
Properties of nouns needed to correctly conjugate those nouns and refer to them with pronouns, such as genders.
- meText() - Method in enum squidpony.Messaging.NounTrait
- metric - Variable in class squidpony.squidai.Reach
-
Determines how distance will be measured.
- MetsaMapFactory - Class in squidpony.squidgrid.mapping
-
A map generation factory using Perlin noise to make island chain style maps.
- MetsaMapFactory() - Constructor for class squidpony.squidgrid.mapping.MetsaMapFactory
- MetsaMapFactory(int, int) - Constructor for class squidpony.squidgrid.mapping.MetsaMapFactory
- MetsaMapFactory(int, int, long) - Constructor for class squidpony.squidgrid.mapping.MetsaMapFactory
- MetsaMapFactory(int, int, StatefulRNG) - Constructor for class squidpony.squidgrid.mapping.MetsaMapFactory
- midConsonants - Variable in class squidpony.FakeLanguageGen
- midPunctuation - Variable in class squidpony.FakeLanguageGen.SentenceForm
- midPunctuationFrequency - Variable in class squidpony.FakeLanguageGen.SentenceForm
- midVowels - Variable in class squidpony.FakeLanguageGen
- mildHasher - Static variable in class squidpony.squidmath.CrossHash
-
The most basic IHasher type; effectively delegates to
Objects.hashCode(Object)
andObjects.equals(Object, Object)
. - MimicFill - Class in squidpony.squidgrid
-
A class that imitates patterns in an existing 2D boolean array and uses it to generate a new boolean array with a similar visual style.
- MimicMap() - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
-
Constructs a concrete WorldMapGenerator for a map that should look like Earth using an elliptical projection (specifically, a Mollweide projection).
- MimicMap(long, GreasedRegion) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
-
Constructs a concrete WorldMapGenerator for a map that should have land in roughly the same places as the given GreasedRegion's "on" cells, using an elliptical projection (specifically, a Mollweide projection).
- MimicMap(long, GreasedRegion, double) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
-
Constructs a concrete WorldMapGenerator for a map that should have land in roughly the same places as the given GreasedRegion's "on" cells, using an elliptical projection (specifically, a Mollweide projection).
- MimicMap(long, GreasedRegion, Noise.Noise3D) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
-
Constructs a concrete WorldMapGenerator for a map that should have land in roughly the same places as the given GreasedRegion's "on" cells, using an elliptical projection (specifically, a Mollweide projection).
- MimicMap(long, GreasedRegion, Noise.Noise3D, double) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
-
Constructs a concrete WorldMapGenerator for a map that should have land in roughly the same places as the given GreasedRegion's "on" cells, using an elliptical projection (specifically, a Mollweide projection).
- MimicMap(long, Noise.Noise3D, double) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
-
Constructs a 512x256 elliptical world map that will use land forms with a similar shape to Earth.
- MimicMap(WorldMapGenerator.MimicMap) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
-
Copies the MimicMap
other
to construct a new one that is exactly the same. - MimicMap(GreasedRegion) - Constructor for class squidpony.squidgrid.mapping.WorldMapGenerator.MimicMap
-
Constructs a concrete WorldMapGenerator for a map that should have land in roughly the same places as the given GreasedRegion's "on" cells, using an elliptical projection (specifically, a Mollweide projection).
- MimicWFC - Class in squidpony.squidgrid
-
A port of WaveFunctionCollapse by ExUtumno/mxgmn; takes a single sample of a grid to imitate and produces one or more grids of requested sizes that have a similar layout of cells to the sample.
- MimicWFC(int[][], int, int, int, boolean, boolean, int, int) - Constructor for class squidpony.squidgrid.MimicWFC
- min - Variable in class squidpony.squidgrid.mapping.MapModule
-
The minimum point on the bounding rectangle of the room, including walls.
- minContents - Variable in class squidpony.squidgrid.mapping.WildMap.MixedWildMap
- minDistance - Variable in class squidpony.squidai.Reach
-
The minimum distance in cells that this Reach can target.
- minDoubleOf(double, int) - Method in class squidpony.squidmath.RNG
-
Gets the minimum random double between 0 and
bound
generated out oftrials
generated numbers. - mineText() - Method in enum squidpony.Messaging.NounTrait
- minFloatOf(float, int) - Method in class squidpony.squidmath.RNG
-
Gets the minimum random float between 0 and
bound
generated out oftrials
generated numbers. - minFloors - Variable in class squidpony.squidgrid.mapping.WildMap.MixedWildMap
- minHeat - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- minHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalHammerMap
- minHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalMap
- minHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.HyperellipticalMap
- minHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMap
- minHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RotatingSpaceMap
- minHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RoundSideMap
- minHeat0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
- minHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalHammerMap
- minHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalMap
- minHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.HyperellipticalMap
- minHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMap
- minHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RotatingSpaceMap
- minHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RoundSideMap
- minHeat1 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
- minHeight - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- minHeightActual - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- MiniMover64RNG - Class in squidpony.squidmath
-
The fastest generator in this library on desktop JVMs; one of Mark Overton's subcycle generators from this article, specifically a CMR with a 64-bit state, that has its result multiplied by a constant.
- MiniMover64RNG() - Constructor for class squidpony.squidmath.MiniMover64RNG
-
Calls
MiniMover64RNG.seed(int)
with a random int value (obtained usingMath.random()
). - MiniMover64RNG(int) - Constructor for class squidpony.squidmath.MiniMover64RNG
-
The recommended constructor, this guarantees the generator will have a period of at least 2 to the 20 (roughly one million, but most if not all initial states will have much longer periods).
- MiniMover64RNG(long) - Constructor for class squidpony.squidmath.MiniMover64RNG
-
Not advised for external use; prefer
MiniMover64RNG(int)
because it guarantees a good subcycle. - minimumDiagonal - Variable in class squidpony.squidgrid.mapping.RectangleRoomFinder
-
The minimum number of cells that the diagonal of a room must have.
- minIntOf(int, int) - Method in class squidpony.squidmath.RNG
-
Gets the minimum random int between 0 and
bound
generated out oftrials
generated numbers. - minLongOf(long, int) - Method in class squidpony.squidmath.RNG
-
Gets the minimum random long between 0 and
bound
generated out oftrials
generated numbers. - minWet - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- minWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalHammerMap
- minWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalMap
- minWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.HyperellipticalMap
- minWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMap
- minWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RotatingSpaceMap
- minWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RoundSideMap
- minWet0 - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
- minWords - Variable in class squidpony.FakeLanguageGen.SentenceForm
- mirrorY() - Method in class squidpony.squidmath.GreasedRegion
-
Returns a new GreasedRegion that has been mirrored along the rightmost edge, parallel to the y-axis.
- mismatchTranslation(Map<String, String>, String, String) - Method in class squidpony.NaturalLanguageCipher
-
Adds a translation pair to vocabulary so it can be used in decipher, giving a typically-incorrect translation for correctWord where it provides mismatchWord instead when the ciphered version of correctWord appears.
- Mist() - Constructor for class squidpony.squidmath.CrossHash.Mist
- Mist(long) - Constructor for class squidpony.squidmath.CrossHash.Mist
- Mist(long, long) - Constructor for class squidpony.squidmath.CrossHash.Mist
- Mist(CharSequence) - Constructor for class squidpony.squidmath.CrossHash.Mist
- MitchellNoise - Class in squidpony.squidmath
-
An arbitrary-dimensional noise generator; it's not suitable for real-time use, but could be very useful when used with unconventional axes, particularly during level generation.
- MitchellNoise() - Constructor for class squidpony.squidmath.MitchellNoise
- MitchellNoise(long, int) - Constructor for class squidpony.squidmath.MitchellNoise
- MitchellNoise.Vec4 - Class in squidpony.squidmath
- mix - Variable in class squidpony.squidgrid.mapping.LanesMapGenerator
- mix(double, FakeLanguageGen, double, Object...) - Method in class squidpony.FakeLanguageGen
-
Produces a FakeLanguageGen by mixing this FakeLanguageGen with one or more other FakeLanguageGen objects.
- mix(int) - Static method in class squidpony.squidmath.HashCommon
-
Thoroughly mixes the bits of an integer.
- mix(long) - Static method in class squidpony.squidmath.HashCommon
-
Quickly mixes the bits of a long integer.
- mix(String, MonsterGen.Chimera, double) - Method in class squidpony.MonsterGen.Chimera
-
Fuse two Chimera objects by some fraction of influence, using the default RNG and possibly renaming the creature.
- mix(FakeLanguageGen, double) - Method in class squidpony.FakeLanguageGen
-
Makes a new FakeLanguageGen that mixes this object with
other
, mingling the consonants and vowels they use as well as any word suffixes or other traits, and favoring the qualities inother
byotherInfluence
, which will value both languages evenly if it is 0.5 . - mix(GrowingTreeMazeGenerator.ChoosingMethod, double, GrowingTreeMazeGenerator.ChoosingMethod, double) - Method in class squidpony.squidgrid.mapping.GrowingTreeMazeGenerator
-
Mixes two ChoosingMethod values, like
GrowingTreeMazeGenerator.newest
andGrowingTreeMazeGenerator.random
, given a weight for each, and produces a new ChoosingMethod that randomly (respecting weight) picks one of those ChoosingMethods each time it is used. - mix(RNG, String, MonsterGen.Chimera, double) - Method in class squidpony.MonsterGen.Chimera
-
Fuse two Chimera objects by some fraction of influence, using the given RNG and possibly renaming the creature.
- mixAll(Object...) - Static method in class squidpony.FakeLanguageGen
-
Produces a FakeLanguageGen from a group of FakeLanguageGen parameters and the weights for those parameters.
- mixed - Variable in class squidpony.squidmath.WeightedTable
- MixedGenerator - Class in squidpony.squidgrid.mapping
-
A dungeon generator that can use a mix of techniques to have part-cave, part-room dungeons.
- MixedGenerator(int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.MixedGenerator
-
This prepares a map generator that will generate a map with the given width and height, using the given RNG.
- MixedGenerator(int, int, IRNG, List<Coord>) - Constructor for class squidpony.squidgrid.mapping.MixedGenerator
-
This prepares a map generator that will generate a map with the given width and height, using the given RNG.
- MixedGenerator(int, int, IRNG, Map<Coord, List<Coord>>) - Constructor for class squidpony.squidgrid.mapping.MixedGenerator
-
This prepares a map generator that will generate a map with the given width and height, using the given IRNG.
- MixedGenerator(int, int, IRNG, Map<Coord, List<Coord>>, float) - Constructor for class squidpony.squidgrid.mapping.MixedGenerator
-
This prepares a map generator that will generate a map with the given width and height, using the given IRNG.
- mixedRandomRegion(double) - Method in class squidpony.squidmath.GreasedRegion
-
Modifies this GreasedRegion so it contains a deterministic but random-seeming subset of its previous contents, choosing cells so that the
GreasedRegion.size()
matches the givenfraction
of the total amount of "on" cells in this. - mixedRandomRegion(double, int) - Method in class squidpony.squidmath.GreasedRegion
-
Modifies this GreasedRegion so it contains a deterministic but random-seeming subset of its previous contents, choosing cells so that the
GreasedRegion.size()
matches the givenfraction
of the total amount of "on" cells in this. - mixedRandomRegion(double, int, long) - Method in class squidpony.squidmath.GreasedRegion
-
Modifies this GreasedRegion so it contains a deterministic but random-seeming subset of its previous contents, choosing cells so that the
GreasedRegion.size()
matches the givenfraction
of the total amount of "on" cells in this. - mixedRandomSeparated(double) - Method in class squidpony.squidmath.GreasedRegion
-
Gets a Coord array from the "on" contents of this GreasedRegion, using a deterministic but random-seeming scattering of chosen cells with a count that matches the given
fraction
of the total amount of "on" cells in this. - mixedRandomSeparated(double, int) - Method in class squidpony.squidmath.GreasedRegion
-
Gets a Coord array from the "on" contents of this GreasedRegion, using a deterministic but random-seeming scattering of chosen cells with a count that matches the given
fraction
of the total amount of "on" cells in this. - mixedRandomSeparated(double, int, long) - Method in class squidpony.squidmath.GreasedRegion
-
Gets a Coord array from the "on" contents of this GreasedRegion, using a deterministic but random-seeming scattering of chosen cells with a count that matches the given
fraction
of the total amount of "on" cells in this. - mixedRandomSeparatedAlt(double, int, long) - Method in class squidpony.squidmath.GreasedRegion
-
Gets a Coord array from the "on" contents of this GreasedRegion, using a deterministic but random-seeming scattering of chosen cells with a count that matches the given
fraction
of the total amount of "on" cells in this. - MixedWildMap() - Constructor for class squidpony.squidgrid.mapping.WildMap.MixedWildMap
- MixedWildMap(WildMap, WildMap, WildMap, WildMap, IStatefulRNG) - Constructor for class squidpony.squidgrid.mapping.WildMap.MixedWildMap
- mixOther(int) - Static method in class squidpony.squidmath.HashCommon
-
Thoroughly mixes the bits of an integer.
- mixVisibleFOVs(double[][], double[][]...) - Static method in class squidpony.squidgrid.FOV
-
Adds together multiple FOV maps, but only adds to a position if it is visible in the given LOS map.
- mixVisibleFOVs(double[][], Iterable<double[][]>) - Static method in class squidpony.squidgrid.FOV
-
Adds together multiple FOV maps, but only adds to a position if it is visible in the given LOS map.
- mixVisibleFOVsInto(double[][], double[][], double[][]...) - Static method in class squidpony.squidgrid.FOV
-
Adds together multiple FOV maps, but only adds to a position if it is visible in the given LOS map.
- MizuchiRNG - Class in squidpony.squidmath
-
A high-quality StatefulRandomness based on
LinnormRNG
but modified to allow any odd number as a stream, instead of LinnormRNG's hardcoded stream of 1. - MizuchiRNG() - Constructor for class squidpony.squidmath.MizuchiRNG
-
Creates a new generator seeded using Math.random.
- MizuchiRNG(long) - Constructor for class squidpony.squidmath.MizuchiRNG
- MizuchiRNG(long, long) - Constructor for class squidpony.squidmath.MizuchiRNG
- MizuchiRNG(String) - Constructor for class squidpony.squidmath.MizuchiRNG
- Mnemonic - Class in squidpony
-
A utility class to print (typically very large) numbers in a way that players can more-meaningfully tell them apart.
- Mnemonic() - Constructor for class squidpony.Mnemonic
-
Default constructor for a Mnemonic generator; equivalent to
new Mnemonic(1L)
, and probably a good choice unless you know you need different seeds. - Mnemonic(long) - Constructor for class squidpony.Mnemonic
-
Constructor for a Mnemonic generator that allows a different seed to be chosen, which will alter the syllables produced by
Mnemonic.toMnemonic(long)
and the words produced byMnemonic.toWordMnemonic(int, boolean)
if you give the same numeric argument to differently-seeded Mnemonic generators. - Mnemonic(long, String[], String[]) - Constructor for class squidpony.Mnemonic
-
Constructor that allows you to specify the adjective and noun collections (given as arrays) used by
Mnemonic.toWordMnemonic(int, boolean)
as well as a seed. - Mnemonic(long, Collection<String>, Collection<String>) - Constructor for class squidpony.Mnemonic
-
Constructor that allows you to specify the adjective and noun collections used by
Mnemonic.toWordMnemonic(int, boolean)
as well as a seed. - MODERN_PUNCTUATION - Static variable in class squidpony.StringKit
- modifier(String, String) - Static method in class squidpony.FakeLanguageGen
-
Convenience method that just calls
Modifier(String, String)
. - modifier(String, String, double) - Static method in class squidpony.FakeLanguageGen
-
Convenience method that just calls
Modifier(String, String, double)
. - Modifier() - Constructor for class squidpony.FakeLanguageGen.Modifier
- Modifier(String, String) - Constructor for class squidpony.FakeLanguageGen.Modifier
- Modifier(String, String, double) - Constructor for class squidpony.FakeLanguageGen.Modifier
- Modifier(FakeLanguageGen.Alteration...) - Constructor for class squidpony.FakeLanguageGen.Modifier
- modifiers - Variable in class squidpony.FakeLanguageGen
- modify(I, E) - Method in class squidpony.squidgrid.SpatialMap
-
Changes the element's value associated with id.
- modify(IRNG, StringBuilder) - Method in class squidpony.FakeLanguageGen.Modifier
- ModularMapGenerator - Class in squidpony.squidgrid.mapping
-
Generator for maps of high-tech areas like space stations or starships, with repeated modules laid out in random ways.
- ModularMapGenerator() - Constructor for class squidpony.squidgrid.mapping.ModularMapGenerator
-
Make a ModularMapGenerator with a GWTRNG using a random seed, height 30, and width 60.
- ModularMapGenerator(int, int) - Constructor for class squidpony.squidgrid.mapping.ModularMapGenerator
-
Make a ModularMapGenerator with the given height and width; the RNG used for generating a dungeon and adding features will be a GWTRNG using a random seed.
- ModularMapGenerator(int, int, IRNG) - Constructor for class squidpony.squidgrid.mapping.ModularMapGenerator
-
Make a ModularMapGenerator with the given height, width, and RNG.
- ModularMapGenerator(ModularMapGenerator) - Constructor for class squidpony.squidgrid.mapping.ModularMapGenerator
-
Copies all fields from copying and makes a new DungeonGenerator.
- modularMultiplicativeInverse(int) - Static method in class squidpony.squidmath.MathExtras
-
Given any odd int
a
, this finds another odd intb
such thata * b == 1
. - modularMultiplicativeInverse(long) - Static method in class squidpony.squidmath.MathExtras
-
Given any odd long
a
, this finds another odd longb
such thata * b == 1L
. - modules - Variable in class squidpony.squidgrid.mapping.ModularMapGenerator
- moisture - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalHammerMap
- moisture - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalMap
- moisture - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.HyperellipticalMap
- moisture - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMap
- moisture - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RoundSideMap
- moisture - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
- moisture - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
- moisture - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.TilingMap
- moistureCodeData - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.DetailedBiomeMapper
-
The heat codes for the analyzed map, from 0 to 5 inclusive, with 0 coldest and 5 hottest.
- moistureCodeData - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SimpleBiomeMapper
-
The heat codes for the analyzed map, from 0 to 5 inclusive, with 0 coldest and 5 hottest.
- moistureData - Variable in class squidpony.squidgrid.mapping.WorldMapGenerator
- moistureFreq - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalHammerMap
- moistureFreq - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.EllipticalMap
- moistureFreq - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.HyperellipticalMap
- moistureFreq - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.LocalMap
- moistureFreq - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.RoundSideMap
- moistureFreq - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SpaceViewMap
- moistureFreq - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.SphereMap
- moistureFreq - Static variable in class squidpony.squidgrid.mapping.WorldMapGenerator.TilingMap
- MONGOLIAN - Static variable in class squidpony.FakeLanguageGen
-
Imitation text from an approximation of one of the languages spoken in the 13th-century Mongol Empire.
- MonsterGen - Class in squidpony
-
A class for generating random monster descriptions; can be subclassed to generate stats for a specific game.
- MonsterGen() - Constructor for class squidpony.MonsterGen
-
Constructs a MonsterGen with a random seed for the default RNG.
- MonsterGen(long) - Constructor for class squidpony.MonsterGen
-
Constructs a MonsterGen with the given seed for the default RNG.
- MonsterGen(String) - Constructor for class squidpony.MonsterGen
-
Constructs a MonsterGen with the given seed (hashing seed with CrossHash) for the default RNG.
- MonsterGen.Chimera - Class in squidpony
-
A creature that can be mixed with other Chimeras or given additional descriptors, then printed in a usable format for game text.
- MoonwalkRNG - Class in squidpony.squidmath
-
An IRNG implementation that allows the extra functionality of a StatefulRandomness and a SkippingRandomness, as well as allowing reverse-lookup of the state that produced a long using the static
MoonwalkRNG.inverseNextLong(long)
method, and distance checks between two generated numbers with the staticMoonwalkRNG.distance(long, long)
method. - MoonwalkRNG() - Constructor for class squidpony.squidmath.MoonwalkRNG
-
Default constructor; uses a random seed.
- MoonwalkRNG(long) - Constructor for class squidpony.squidmath.MoonwalkRNG
-
Constructs a MoonwalkRNG with the given seed as-is; any seed can be given.
- MoonwalkRNG(CharSequence) - Constructor for class squidpony.squidmath.MoonwalkRNG
-
String-seeded constructor; uses a platform-independent hash of the String (it does not use String.hashCode) as a seed for this RNG.
- mooreDistances - Static variable in class squidpony.squidmath.CoordPacker
- mooreToCoord(int) - Static method in class squidpony.squidmath.CoordPacker
-
Takes a distance to travel along the 16x16 Hilbert curve and returns a Coord representing the position in 2D space that corresponds to that point on the Hilbert curve.
- mooreX - Static variable in class squidpony.squidmath.CoordPacker
- mooreY - Static variable in class squidpony.squidmath.CoordPacker
- mortonBitDecode3D(int) - Static method in class squidpony.squidmath.CoordPacker
- mortonDecode(int) - Static method in class squidpony.squidmath.CoordPacker
-
Takes a Morton code, with interleaved x and y bits and x in the least significant bit, and returns the Coord representing the same x, y position.
- mortonDecode3D(int) - Static method in class squidpony.squidmath.CoordPacker
- mortonEncode(int, int) - Static method in class squidpony.squidmath.CoordPacker
-
Takes two 8-bit unsigned integers index1 and index2, and returns a Morton code, with interleaved index1 and index2 bits and index1 in the least significant bit.
- mortonEncode3D(int, int, int) - Static method in class squidpony.squidmath.CoordPacker
- mortonToHilbert(int) - Static method in class squidpony.squidmath.CoordPacker
-
Takes a position as a Morton code, with interleaved x and y bits and x in the least significant bit, and returns the length to travel along the 256x256 Hilbert Curve to reach that position.
- MOUNTAIN_LEVEL - Static variable in class squidpony.squidgrid.mapping.MetsaMapFactory
- mountains - Variable in class squidpony.squidgrid.mapping.SpillWorldMap
- mouths - Variable in class squidpony.squidgrid.mapping.RoomFinder
-
When a RoomFinder is constructed, it stores all points of rooms that are adjacent to another region here.
- move(int, int, int) - Method in class squidpony.squidgrid.Adjacency.BasicAdjacency
- move(int, int, int) - Method in class squidpony.squidgrid.Adjacency
- move(int, int, int, int, int) - Method in class squidpony.squidgrid.Adjacency
- move(I, Coord) - Method in class squidpony.squidgrid.SpatialMap
-
Move an element, picked by its identity, to a new Coord position.
- move(Coord, Coord) - Method in class squidpony.squidgrid.SpatialMap
-
Move an element from one position to another; moves whatever is at the Coord position previous to the new Coord position target.
- Mover32RNG - Class in squidpony.squidmath
-
One of Mark Overton's subcycle generators from this article, specifically a cmr^cmr with two 32-bit states; this is the fastest 32-bit generator that still passes statistical tests, plus it's optimized for GWT (sometimes).
- Mover32RNG() - Constructor for class squidpony.squidmath.Mover32RNG
- Mover32RNG(int) - Constructor for class squidpony.squidmath.Mover32RNG
- Mover32RNG(int, int) - Constructor for class squidpony.squidmath.Mover32RNG
-
Not advised for external use; prefer
Mover32RNG(int)
because it guarantees a good subcycle. - Mover64RNG - Class in squidpony.squidmath
-
One of Mark Overton's subcycle generators from this article, specifically a cmr^cmr with two 64-bit states.
- Mover64RNG() - Constructor for class squidpony.squidmath.Mover64RNG
- Mover64RNG(int) - Constructor for class squidpony.squidmath.Mover64RNG
- Mover64RNG(long, long) - Constructor for class squidpony.squidmath.Mover64RNG
-
Not advised for external use; prefer
Mover64RNG(int)
because it guarantees a good subcycle. - moveToFirst(int) - Method in class squidpony.squidmath.IntVLA
-
Moves the specified value to the first index and returns its previous index.
- moveToLast(int) - Method in class squidpony.squidmath.IntVLA
-
Moves the specified value to the last index and returns its previous index.
- mu - Static variable in class squidpony.squidmath.CrossHash.Curlup
- mu - Static variable in class squidpony.squidmath.CrossHash.Mist
- mu - Static variable in class squidpony.squidmath.CrossHash.Yolk
- mu_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- mu_ - Static variable in class squidpony.squidmath.CrossHash.Mist
- mu_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- mul(int, int) - Method in class squidpony.squidmath.IntVLA
- mul(int, short) - Method in class squidpony.squidmath.ShortVLA
- multiply(double) - Method in class squidpony.squidmath.Coord
-
Separately multiplies the x and y positions of this Coord by operand, rounding to the nearest int for each of x and y and producing a different Coord as their "product."
- multiply(double, double) - Method in class squidpony.squidmath.CoordDouble
- multiply(int) - Method in class squidpony.squidmath.Coord
-
Separately multiplies the x and y positions of this Coord by operand, producing a different Coord as their "product."
- multiply(Coord) - Method in class squidpony.squidmath.Coord
-
Separately multiplies the x and y positions of other from this Coord, producing a different Coord as their "product."
- multiply(CoordDouble) - Method in class squidpony.squidmath.CoordDouble
- MultiSpill - Class in squidpony.squidgrid
-
A randomized flood-fill implementation that can be used for level generation (e.g.
- MultiSpill() - Constructor for class squidpony.squidgrid.MultiSpill
-
Construct a Spill without a level to actually scan.
- MultiSpill(char[][]) - Constructor for class squidpony.squidgrid.MultiSpill
-
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.
- MultiSpill(char[][], char) - Constructor for class squidpony.squidgrid.MultiSpill
-
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.
- MultiSpill(char[][], Measurement) - Constructor for class squidpony.squidgrid.MultiSpill
-
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.
- MultiSpill(char[][], Measurement, IRNG) - Constructor for class squidpony.squidgrid.MultiSpill
-
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.
- MultiSpill(long) - Constructor for class squidpony.squidgrid.MultiSpill
-
Construct a Spill without a level to actually scan.
- MultiSpill(short[][]) - Constructor for class squidpony.squidgrid.MultiSpill
-
Used to construct a Spill from the output of another.
- MultiSpill(short[][], Measurement) - Constructor for class squidpony.squidgrid.MultiSpill
-
Used to construct a Spill from the output of another, specifying a distance calculation.
- MultiSpill(short[][], Measurement, IRNG) - Constructor for class squidpony.squidgrid.MultiSpill
-
Used to construct a Spill from the output of another, specifying a distance calculation and RNG.
- MultiSpill(IRNG) - Constructor for class squidpony.squidgrid.MultiSpill
-
Construct a Spill without a level to actually scan.
- MultiSpill(IStatefulRNG) - Constructor for class squidpony.squidgrid.MultiSpill
-
Construct a Spill without a level to actually scan.
- mum(long, long) - Static method in class squidpony.squidmath.CrossHash.Water
-
Takes two arguments that are technically longs, and should be very different, and uses them to get a result that is technically a long and mixes the bits of the inputs.
- murmur - Static variable in class squidpony.squidmath.CrossHash.Curlup
- murmur - Static variable in class squidpony.squidmath.CrossHash.Yolk
- murmur_ - Static variable in class squidpony.squidmath.CrossHash.Curlup
- murmur_ - Static variable in class squidpony.squidmath.CrossHash.Yolk
- MutableZone - Interface in squidpony.squidgrid.zone
-
Created by Tommy Ettinger on 11/24/2016.
- myselfText() - Method in enum squidpony.Messaging.NounTrait
- myText() - Method in enum squidpony.Messaging.NounTrait
All Classes|All Packages