2015-07-26 16:51:12 +02:00
|
|
|
package com.plotsquared.bukkit.util;
|
2015-02-22 14:12:32 +01:00
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.Map;
|
|
|
|
|
2015-04-21 14:48:18 +02:00
|
|
|
import org.bukkit.generator.ChunkGenerator;
|
|
|
|
|
2015-04-02 05:52:14 +02:00
|
|
|
import com.intellectualcrafters.plot.object.PlotWorld;
|
2015-02-22 14:12:32 +01:00
|
|
|
import com.intellectualcrafters.plot.object.SetupObject;
|
|
|
|
|
|
|
|
public abstract class SetupUtils {
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-22 14:20:41 +01:00
|
|
|
public static SetupUtils manager;
|
2015-04-21 14:48:18 +02:00
|
|
|
|
2015-02-22 14:12:32 +01:00
|
|
|
public final static Map<String, SetupObject> setupMap = new HashMap<>();
|
2015-04-21 14:48:18 +02:00
|
|
|
public static HashMap<String, ChunkGenerator> generators = new HashMap<>();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-22 14:12:32 +01:00
|
|
|
public abstract void updateGenerators();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-04-02 05:52:14 +02:00
|
|
|
public abstract String getGenerator(PlotWorld plotworld);
|
|
|
|
|
2015-02-22 14:12:32 +01:00
|
|
|
public abstract String setupWorld(final SetupObject object);
|
|
|
|
}
|