package gq.unurled.raxen.components.dungeons; import gq.unurled.raxen.components.entity.other.RaxenEntity; import org.bukkit.Bukkit; import org.bukkit.Location; import java.util.HashMap; import java.util.Map; import java.util.UUID; import static gq.unurled.raxen.utils.DungeonUtils.getRadiusFromRank; public class Dungeon { private UUID uuid; private Rank rank; private Gate gate; private Map monster = new HashMap(); /** * The Type of the Dungeon */ private Types types; private Location location; private Integer radius; public Dungeon(UUID uuid, Rank rank, Types types) { this.uuid = uuid; this.rank = rank; this.types = types; } /** * Generate the Gate and make it available to players in the world. * TODO: Place the gate at a random place. */ public void generateGate() { // -281.50 36.00 187.50 Location loc = new Location(Bukkit.getWorld("Liberty_City"), -284.0, 45.00, 187.50); Integer radius = getRadiusFromRank(this.rank); this.gate = new Gate(uuid, loc, radius); } /** * TODO: Terrain Generation of the inside of the Dungeons */ public void generate() { genMonster(); } public void genMonster() { } }