Package com.github.yellowstonegames.world
package com.github.yellowstonegames.world
-
ClassDescriptionProvides a way to assign biomes to points on a world or area map, and retrieve those biomes or the heat/moisture levels those biomes depend on.A very-smoothly-blending BiomeMapper.A way to get biome information for the cells on a map when you want an area's biome to be a combination of two main biome types, such as "Grassland" or "TropicalRainforest", with the biomes varying in weight between areas.A way to get biome information for the cells on a map when you only need a single value to describe a biome, such as "Grassland" or "TropicalRainforest".Primarily useful for debugging, this makes every biome a wildly different color.Takes a
WorldMapGenerator, such as aLocalMap,RotatingGlobeMap, orStretchWorldMap, and wraps it so that you can callBlendedWorldMapView.generate()on this to coordinate calls toWorldMapGenerator.generate()andBiomeMapper.BlendedBiomeMapper.makeBiomes(WorldMapGenerator).Takes aWorldMapGenerator, such as aLocalMap,RotatingGlobeMap, orStretchWorldMap, and wraps it so that you can callDetailedWorldMapView.generate()on this to coordinate calls toWorldMapGenerator.generate()andBiomeMapper.DetailedBiomeMapper.makeBiomes(WorldMapGenerator).A concrete implementation ofWorldMapGeneratorthat is likeStretchWorldMapbut rotates the world so the South Pole is in the lower-left corner (0,0), the North Pole is in the upper right corner (near (width,height)), and wrapping transposes rather than wraps.A concrete implementation ofWorldMapGeneratorthat 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).A concrete implementation ofWorldMapGeneratorthat 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).A modified version of the Eckert II projection, shaped like an elongated hexagon.A concrete implementation ofWorldMapGeneratorthat projects the world map onto a shape that resembles a mix part-way between an ellipse and a rectangle.A concrete implementation ofWorldMapGeneratorthat 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.A concrete implementation ofWorldMapGeneratorthat does no projection of the map, as if the area were completely flat or small enough that curvature is impossible to see.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.An unusual map generator that imitates an existing map (such as a map of Earth, which it can do by default).When you have a world map as produced byWorldMapGenerator, you may want to fill it with claims by various factions, where each faction may be hand-made and may consist of humans or some fantasy species, such as goblins, elves, or demons.Represents a group that claims territory on a world-map, such as a nation.Added to SquidLib by Tommy Ettinger on 7/4/2018, using MIT-licensed work by Justin Kunimune from his Map-Projections repo.A concrete implementation ofWorldMapGeneratorthat 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).A concrete implementation ofWorldMapGeneratorthat projects the world map onto a shape with a flat top and bottom but near-circular sides.Takes aWorldMapGenerator, such as aLocalMap,RotatingGlobeMap, orStretchWorldMap, and wraps it so that you can callSimpleWorldMapView.generate()on this to coordinate calls toWorldMapGenerator.generate()andBiomeMapper.SimpleBiomeMapper.makeBiomes(WorldMapGenerator).A concrete implementation ofWorldMapGeneratorthat 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.A concrete implementation ofWorldMapGeneratorthat tiles both east-to-west and north-to-south.Takes aWorldMapGenerator, such as aLocalMap,RotatingGlobeMap, orStretchWorldMap, and wraps it so that you can callUnrealisticWorldMapView.generate()on this to coordinate calls toWorldMapGenerator.generate()andBiomeMapper.UnrealisticBiomeMapper.makeBiomes(WorldMapGenerator).Can be used to generate world maps with a wide variety of data, starting with height, temperature and moisture.Takes aWorldMapGenerator, such as aLocalMap,RotatingGlobeMap, orStretchWorldMap, and wraps it so that you can callWorldMapView.generate()on this to coordinate calls toWorldMapGenerator.generate()andBiomeMapper.makeBiomes(WorldMapGenerator).