2015-07-28 13:38:49 +02:00
|
|
|
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;
|
|
|
|
|
2015-07-28 13:38:49 +02:00
|
|
|
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-07-28 13:38:49 +02:00
|
|
|
|
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<>();
|
2015-07-28 13:38:49 +02:00
|
|
|
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);
|
|
|
|
}
|