public class BiomeMask2D extends AbstractMask2D
| Constructor and Description |
|---|
BiomeMask2D(Extent extent,
BaseBiome... biome)
Create a new biome mask.
|
BiomeMask2D(Extent extent,
Collection<BaseBiome> biomes)
Create a new biome mask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(BaseBiome... biome)
Add the given biomes to the list of criteria.
|
void |
add(Collection<BaseBiome> biomes)
Add the given biomes to the list of criteria.
|
Collection<BaseBiome> |
getBiomes()
Get the list of biomes that are tested with.
|
boolean |
test(Vector2D vector)
Returns true if the criteria is met.
|
public BiomeMask2D(Extent extent, Collection<BaseBiome> biomes)
extent - the extentbiomes - a list of biomes to matchpublic void add(Collection<BaseBiome> biomes)
biomes - a list of biomespublic void add(BaseBiome... biome)
biome - an array of biomespublic Collection<BaseBiome> getBiomes()
Copyright © 2010-2014. All Rights Reserved.