Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
Modifier and Type | Class and Description |
---|---|
static class |
WorldMapGenerator.EllipticalHammerMap
A concrete implementation of
WorldMapGenerator 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). |
static class |
WorldMapGenerator.EllipticalMap
A concrete implementation of
WorldMapGenerator 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). |
static class |
WorldMapGenerator.HexagonalMap
A modified version of the Eckert II projection, shaped like an elongated hexagon.
|
static class |
WorldMapGenerator.HyperellipticalMap
A concrete implementation of
WorldMapGenerator that projects the world map onto a shape that resembles a
mix part-way between an ellipse and a rectangle. |
static class |
WorldMapGenerator.LocalMap
A concrete implementation of
WorldMapGenerator that does no projection of the map, as if the area were
completely flat or small enough that curvature is impossible to see. |
static class |
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.
|
static class |
WorldMapGenerator.MimicMap
An unusual map generator that imitates an existing map (such as a map of Earth, which it can do by default).
|
static class |
WorldMapGenerator.RotatingSpaceMap
A concrete implementation of
WorldMapGenerator 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). |
static class |
WorldMapGenerator.RoundSideMap
A concrete implementation of
WorldMapGenerator that projects the world map onto a shape with a flat top
and bottom but near-circular sides. |
static class |
WorldMapGenerator.SpaceViewMap
A concrete implementation of
WorldMapGenerator 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). |
static class |
WorldMapGenerator.SphereMap
A concrete implementation of
WorldMapGenerator 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. |
static class |
WorldMapGenerator.TilingMap
A concrete implementation of
WorldMapGenerator that tiles both east-to-west and north-to-south. |
Modifier and Type | Field and Description |
---|---|
WorldMapGenerator |
FantasyPoliticalMapper.wmg |
Modifier and Type | Method and Description |
---|---|
char[][] |
FantasyPoliticalMapper.generate(long seed,
WorldMapGenerator wmg,
WorldMapGenerator.BiomeMapper biomeMapper,
java.util.Collection<FantasyPoliticalMapper.Faction> factions,
int factionCount,
double controlledFraction)
Generates a 2D char array that represents the claims to the land described by the WorldMapGenerator
wmg
and the BiomeMapper biomeMapper by various Factions, where FantasyPoliticalMapper.Faction is an inner class. |
char[][] |
FantasyPoliticalMapper.generate(long seed,
WorldMapGenerator wmg,
WorldMapGenerator.BiomeMapper biomeMapper,
int factionCount)
Generates a 2D char array that represents the claims to the land described by the WorldMapGenerator
wmg
and the BiomeMapper biomeMapper by various Factions, where FantasyPoliticalMapper.Faction is an inner class. |
char[][] |
FantasyPoliticalMapper.generate(long seed,
WorldMapGenerator wmg,
WorldMapGenerator.BiomeMapper biomeMapper,
int factionCount,
double controlledFraction)
Generates a 2D char array that represents the claims to the land described by the WorldMapGenerator
wmg
and the BiomeMapper biomeMapper by various Factions, where FantasyPoliticalMapper.Faction is an inner class. |
char[][] |
PoliticalMapper.generate(WorldMapGenerator wmg,
int factionCount,
double controlledFraction)
Produces a political map for the land stored in the given WorldMapGenerator, with the given number
of factions trying to take land in the world (essentially, nations).
|
char[][] |
PoliticalMapper.generate(WorldMapGenerator wmg,
java.util.Map<java.lang.Character,java.lang.String> existingAtlas,
double controlledFraction)
Produces a political map for the land stored in the given WorldMapGenerator, with the given number
of factions trying to take land in the world (essentially, nations).
|
char[][] |
PoliticalMapper.generate(WorldMapGenerator wmg,
OrderedMap<java.lang.Character,FakeLanguageGen> atlasLanguages,
double controlledFraction)
Produces a political map for the land stored in the given WorldMapGenerator, with the given number
of factions trying to take land in the world (essentially, nations).
|
void |
WorldMapGenerator.BiomeMapper.makeBiomes(WorldMapGenerator world)
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).
|
void |
WorldMapGenerator.SimpleBiomeMapper.makeBiomes(WorldMapGenerator world)
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).
|
void |
WorldMapGenerator.DetailedBiomeMapper.makeBiomes(WorldMapGenerator world)
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).
|
Constructor and Description |
---|
WorldMapGenerator(WorldMapGenerator other)
Used to implement most of the copy constructor for subclasses; this cannot copy Noise implementations and leaves
that up to the subclass, but will copy all non-static fields defined in WorldMapGenerator from other.
|
Copyright © Eben Howard 2012–2022. All rights reserved.