PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SetupUtils.java

23 lines
688 B
Java
Raw Normal View History

package com.intellectualcrafters.plot.util;
2015-02-22 14:12:32 +01:00
2015-07-30 16:25:16 +02:00
import java.util.HashMap;
import java.util.Map;
import com.intellectualcrafters.plot.generator.PlotGenerator;
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;
2015-02-22 14:12:32 +01:00
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<>();
public static HashMap<String, PlotGenerator<?>> 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);
}