- mainForm - Variable in class squidpony.MonsterGen.Chimera
-
- makeBiomeMap(double[][]) - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
-
- makeHeightMap() - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
-
- 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...
- makeLHM() - Static method in class squidpony.Maker
-
Makes an empty LinkedHashMap (LHM); needs key and value types to be specified in order to work.
- 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 an array or vararg of T elements.
- makeNationMap(double[][]) - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
-
- 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
-
- makeWeightedMap(double[][]) - Method in class squidpony.squidgrid.mapping.MetsaMapFactory
-
- manhattanDistance(Coord3D) - Method in class squidpony.squidmath.Coord3D
-
Returns the Manhattan distance between this point and the provided one.
- 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.squidmath.AStarSearch
-
- MapFactory - Class in squidpony.squidgrid.mapping
-
Tools to create maps.
- MapFactory() - Constructor for class squidpony.squidgrid.mapping.MapFactory
-
- mapLimit - Variable in class squidpony.squidgrid.FOVCache
-
- 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(short[], int, int) - Constructor for class squidpony.squidgrid.mapping.MapModule
-
Constructs a MapModule given only a short array of packed data (as produced by CoordPacker and consumed or produced
by several other classes) that when unpacked will yield the contents of this section of map.
- MapModule(char[][], Coord[], 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.
- mark(int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- mark(Coord) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- mark(int, int) - Method in class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
-
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.
- markPiercing(int, int) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markPiercing(Coord) - Method in class squidpony.squidgrid.mapping.MixedGenerator
-
Internal use.
- markPiercing(int, int) - Method in class squidpony.squidgrid.mapping.SymmetryDungeonGenerator
-
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.
- 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.
- 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.
- mask16 - Static variable in class squidpony.StringKit
-
- mask8 - Static variable in class squidpony.StringKit
-
- MathExtras - Class in squidpony.squidmath
-
- max - Variable in class squidpony.squidgrid.mapping.MapModule
-
The maximum point on the bounding rectangle of the room, including walls.
- max_tiles - Variable in class squidpony.squidgrid.mapping.styled.Tileset
-
- maxAxisDistance(Coord3D) - Method in class squidpony.squidmath.Coord3D
-
Returns the largest difference between the two points along any one axis.
- maxDistance - Variable in class squidpony.squidai.Reach
-
The maximum distance in cells that this Reach can target.
- 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.
- maxLOSRadius - Variable in class squidpony.squidgrid.FOVCache
-
- maxRadius - Variable in class squidpony.squidgrid.FOVCache
-
- mayContainTarget(Set<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(Set<Coord>) - Method in class squidpony.squidai.BeamAOE
-
- mayContainTarget(Set<Coord>) - Method in class squidpony.squidai.BlastAOE
-
- mayContainTarget(Set<Coord>) - Method in class squidpony.squidai.BurstAOE
-
- mayContainTarget(Set<Coord>) - Method in class squidpony.squidai.CloudAOE
-
- mayContainTarget(Set<Coord>) - Method in class squidpony.squidai.ConeAOE
-
- mayContainTarget(Set<Coord>) - Method in class squidpony.squidai.LineAOE
-
- mayContainTarget(Set<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).
- 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.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.
- 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(RNG, String[], String[], double) - Method in class squidpony.FakeLanguageGen
-
- MersenneTwister - Class in squidpony.squidmath
-
Customized extension of Random to allow for common roguelike operations.
- MersenneTwister() - Constructor for class squidpony.squidmath.MersenneTwister
-
Creates a new RNG and seeds it using the default seeding strategy.
- MersenneTwister(byte[]) - Constructor for class squidpony.squidmath.MersenneTwister
-
Creates an RNG and seeds it with the specified seed data.
- 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
-
- midConsonants - Variable in class squidpony.FakeLanguageGen
-
- midVowels - Variable in class squidpony.FakeLanguageGen
-
- 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.
- min - Variable in class squidpony.squidgrid.mapping.MapModule
-
The minimum point on the bounding rectangle of the room, including walls.
- minDistance - Variable in class squidpony.squidai.Reach
-
The minimum distance in cells that this Reach can target.
- minimumDiagonal - Variable in class squidpony.squidgrid.mapping.RectangleRoomFinder
-
The minimum number of cells that the diagonal of a room must have.
- mismatchTranslation(Map<String, String>, String, String) - Method in class squidpony.LanguageCipher
-
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.
- mix(FakeLanguageGen, double) - Method in class squidpony.FakeLanguageGen
-
- 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.
- 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 - Variable in class squidpony.squidgrid.mapping.LanesMapGenerator
-
- 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, RNG) - 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, RNG, 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, RNG, LinkedHashMap<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 RNG.
- MixedGenerator(int, int, RNG, LinkedHashMap<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 RNG.
- MixedGenerator.CarverType - Enum in squidpony.squidgrid.mapping
-
- 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.
- modifier(String, String) - Static method in class squidpony.FakeLanguageGen
-
- modifier(String, String, double) - Static method in class squidpony.FakeLanguageGen
-
- 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(RNG, StringBuilder) - Method in class squidpony.FakeLanguageGen.Modifier
-
- modify(I, E) - Method in class squidpony.squidgrid.SpatialMap
-
Changes the element's value associated with id.
- 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 StatefulRNG (backed by LightRNG) 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 StatefulRNG (backed by LightRNG) using a random seed.
- ModularMapGenerator(int, int, RNG) - 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.
- modules - Variable in class squidpony.squidgrid.mapping.ModularMapGenerator
-
- 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.
- 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.
- 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(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.
- move(I, Coord) - Method in class squidpony.squidgrid.SpatialMap
-
Move an element, picked by its identity, to a new Coord position.
- move(int, int) - Method in class squidpony.squidmath.CoordDouble
-
- mul(int, short) - Method in class squidpony.squidmath.ShortVLA
-
- 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(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(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."
- 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(RNG) - 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[][], Spill.Measurement) - Constructor for class squidpony.squidgrid.MultiSpill
-
Used to construct a Spill from the output of another, specifying a distance calculation.
- MultiSpill(char[][]) - Constructor for class squidpony.squidgrid.MultiSpill
-
Constructor meant to take a char[][] returned by DungeonGen.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 DungeonGen.generate(), or any other
char[][] where one char means a wall and anything else is a walkable tile.
- MultiSpill(char[][], Spill.Measurement) - Constructor for class squidpony.squidgrid.MultiSpill
-
Constructor meant to take a char[][] returned by DungeonGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
- MultiSpill(char[][], Spill.Measurement, RNG) - Constructor for class squidpony.squidgrid.MultiSpill
-
Constructor meant to take a char[][] returned by DungeonGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.