Uses of Package
squidpony.squidgrid.mapping
Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
-
Classes in squidpony.squidgrid.mapping used by squidpony.squidgrid.mapping Class Description DungeonGenerator The primary way to create a more-complete dungeon, layering different effects and modifications on top of a DungeonBoneGen's dungeon or another dungeon without such effects.DungeonGenerator.FillEffect The effects that can be applied to this dungeon.DungeonUtility A static class that can be used to modify the char[][] dungeons that other generators produce.FantasyPoliticalMapper.Faction Represents a group that claims territory on a world-map, such as a nation.GrowingTreeMazeGenerator.ChoosingMethod A way to configure howGrowingTreeMazeGenerator.generate(ChoosingMethod)
places paths through the maze.IDungeonGenerator Created by Tommy Ettinger on 6/1/2017.MapModule A subsection of a (typically modern-day or sci-fi) area map that can be placed by ModularMapGenerator.MixedGenerator A dungeon generator that can use a mix of techniques to have part-cave, part-room dungeons.ModularMapGenerator Generator for maps of high-tech areas like space stations or starships, with repeated modules laid out in random ways.Placement Utility class for finding areas where game-specific terrain features might be suitable to place.Rectangle Rectangles in 2D grids.RoomFinder A small class that can analyze a dungeon or other map and identify areas as being "room" or "corridor" based on how thick the walkable areas are (corridors are at most 2 cells wide at their widest, rooms are anything else).SectionDungeonGenerator 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.FillEffect The effects that can be applied to this dungeon.SectionMap A Map-like collection that allows storing subdivisions of a 2D array with names (always Strings) and identifying numbers, then looking upCoord
s to find the associated name and/or number, or or looking up a subdivision with a name or number to get aGreasedRegion
back.SymmetryDungeonGenerator A variant onMixedGenerator
that creates bi-radially symmetric maps (basically a yin-yang shape).ThinDungeonGenerator Created by Tommy Ettinger on 8/7/2016.WildMap A finite 2D area map for some kind of wilderness, adapting to different ecosystems by changing its output.WorldMapGenerator Can be used to generate world maps with a wide variety of data, starting with height, temperature and moisture.WorldMapGenerator.BiomeMapper WorldMapGenerator.EllipticalHammerMap A concrete implementation ofWorldMapGenerator
that projects the world map onto an ellipse that should be twice as wide as it is tall (although you can stretch it by width and height that don't have that ratio).WorldMapGenerator.EllipticalMap A concrete implementation ofWorldMapGenerator
that projects the world map onto an ellipse that should be twice as wide as it is tall (although you can stretch it by width and height that don't have that ratio).WorldMapGenerator.HyperellipticalMap A concrete implementation ofWorldMapGenerator
that projects the world map onto a shape that resembles a mix part-way between an ellipse and a rectangle.WorldMapGenerator.LocalMap A concrete implementation ofWorldMapGenerator
that does no projection of the map, as if the area were completely flat or small enough that curvature is impossible to see.WorldMapGenerator.LocalMimicMap An unusual map generator that imitates an existing local map (such as a map of Australia, which it can do by default), without applying any projection or changing heat levels in the polar regions or equator.WorldMapGenerator.MimicMap An unusual map generator that imitates an existing map (such as a map of Earth, which it can do by default).WorldMapGenerator.RotatingSpaceMap A concrete implementation ofWorldMapGenerator
that imitates an infinite-distance perspective view of a world, showing only one hemisphere, that should be as wide as it is tall (its outline is a circle).WorldMapGenerator.RoundSideMap A concrete implementation ofWorldMapGenerator
that projects the world map onto a shape with a flat top and bottom but near-circular sides.WorldMapGenerator.SpaceViewMap A concrete implementation ofWorldMapGenerator
that imitates an infinite-distance perspective view of a world, showing only one hemisphere, that should be as wide as it is tall (its outline is a circle).WorldMapGenerator.SphereMap A concrete implementation ofWorldMapGenerator
that distorts the map as it nears the poles, expanding the smaller-diameter latitude lines in extreme north and south regions so they take up the same space as the equator; this counteracts certain artifacts that are common in Simplex noise world maps by using a 4D noise call to generate terrain, using a normal 3D noise call's result as the extra 4th dimension.WorldMapGenerator.TilingMap A concrete implementation ofWorldMapGenerator
that tiles both east-to-west and north-to-south.