Class WorldGenTile
java.lang.Object
zombie.iso.worldgen.WorldGenTile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTile(String tile, IsoGridSquare square, IsoCell cell, int x, int y, int z, Random rnd) voidvoiddeleteTiles(IsoGridSquare sq, List<String> toRemove) findFeature(List<Feature> features, float prefilterProba, float postfilterProba, Random rnd) voidsetGround(IsoSprite spr, IsoGridSquare sq) voidsetTile(Road road, IsoGridSquare square, IsoCell cell, int x, int y, int z, int tileX, int tileY, int tileZ, EnumMap<FeatureType, String[]> toBeDone, Random rnd) voidsetTile(OreVein vein, IsoGridSquare square, IsoCell cell, int x, int y, int z, int tileX, int tileY, int tileZ, EnumMap<FeatureType, String[]> toBeDone, Random rnd) voidsetTiles(IBiome biome, IsoGridSquare square, IsoChunk ch, IsoCell cell, int x, int y, int z, int tileX, int tileY, int tileZ, EnumMap<FeatureType, String[]> toBeDone, boolean isMap, Random rnd) booleansetTiles(IBiome biome, FeatureType type, IsoGridSquare square, IsoChunk ch, IsoCell cell, int x, int y, int z, int tileX, int tileY, int tileZ, EnumMap<FeatureType, String[]> toBeDone, Random rnd)
-
Field Details
-
NO_TREE
- See Also:
-
NO_BUSH
- See Also:
-
NO_GRASS
- See Also:
-
-
Constructor Details
-
WorldGenTile
public WorldGenTile()
-
-
Method Details
-
setTiles
public void setTiles(IBiome biome, IsoGridSquare square, IsoChunk ch, IsoCell cell, int x, int y, int z, int tileX, int tileY, int tileZ, EnumMap<FeatureType, String[]> toBeDone, boolean isMap, Random rnd) -
setTiles
public boolean setTiles(IBiome biome, FeatureType type, IsoGridSquare square, IsoChunk ch, IsoCell cell, int x, int y, int z, int tileX, int tileY, int tileZ, EnumMap<FeatureType, String[]> toBeDone, Random rnd) -
findFeature
-
setTile
public void setTile(OreVein vein, IsoGridSquare square, IsoCell cell, int x, int y, int z, int tileX, int tileY, int tileZ, EnumMap<FeatureType, String[]> toBeDone, Random rnd) -
setTile
public void setTile(Road road, IsoGridSquare square, IsoCell cell, int x, int y, int z, int tileX, int tileY, int tileZ, EnumMap<FeatureType, String[]> toBeDone, Random rnd) -
applyTile
public void applyTile(String tile, IsoGridSquare square, IsoCell cell, int x, int y, int z, Random rnd) -
getSprite
-
getGround
-
getPlant
-
setGround
-
deleteTiles
-
deleteTiles
-