All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mmb.engine.generator.Generators Maven / Gradle / Ivy

Go to download

Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world. THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<

The newest version!
/**
 * 
 */
package mmb.engine.generator;

import java.util.List;

import javax.swing.DefaultListModel;

import mmb.NN;
import monniasza.collects.Collects;

/**
 * A set of world generation utilities
 * @author oskar
 */
public class Generators {
	private static boolean inited = false;
	/** Initializes world generators */
	public static void init() {
		if(inited) return;
		generators.addElement(new GeneratorMultiBiome());
		generators.addElement(new GeneratorPlain());
		inited = true;
	}
	/** A list of the world generators */
	@NN public static final DefaultListModel generators = new DefaultListModel<>();
	/** A list of the world generators */
	@NN public static final List generatorsList = Collects.toWritableList(generators);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy