Class AirGenerator
- java.lang.Object
-
- com.bombinggames.wurfelengine.core.map.Generators.AirGenerator
-
- All Implemented Interfaces:
Generator
public class AirGenerator extends java.lang.Object implements Generator
A simple generator who returns only air.- See Also:
FullMapGenerator
-
-
Constructor Summary
Constructors Constructor Description AirGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
generate(int x, int y, int z)
Define which block should appear at which coordinate.void
spawnEntities(int x, int y, int z)
Define which entities should appear at which coordinate.
-
-
-
Method Detail
-
generate
public int generate(int x, int y, int z)
Description copied from interface:Generator
Define which block should appear at which coordinate.
-
spawnEntities
public void spawnEntities(int x, int y, int z)
Description copied from interface:Generator
Define which entities should appear at which coordinate. This method should spawn them.- Specified by:
spawnEntities
in interfaceGenerator
-
-