Package | Description |
---|---|
com.BombingGames.WurfelEngine.Core | |
com.BombingGames.WurfelEngine.Core.Map | |
com.BombingGames.WurfelEngine.Core.Map.Generators |
Modifier and Type | Method and Description |
---|---|
Generator |
Configuration.getChunkGenerator()
The map generator
|
Modifier and Type | Method and Description |
---|---|
void |
Controller.init(Generator generator)
This method works like a constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Map.fill(Generator generator,
boolean allowLoading)
Fills the map without overriding the map generator.
|
void |
Map.setGenerator(Generator generator)
Set the generator used for generating maps
|
Constructor and Description |
---|
Chunk(int coordX,
int coordY,
Generator generator)
Creates a chunk by generating a new one.
|
Chunk(java.lang.String mapname,
int coordX,
int coordY,
Generator generator)
Creates a chunk by trying to load and if this fails it generates a new one.
|
Map(java.lang.String name,
Generator generator)
Loads a map.
|
Modifier and Type | Class and Description |
---|---|
class |
AirGenerator
A simple generator who returns only air.
|
class |
BlockTestGenerator
A generator which uses every block.
|
class |
FullMapGenerator
Fills the complete map with a block of a specific id.
|
class |
IslandGenerator
Fenerates islands
|