1
0
Fork 0
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

424 Zeilen
16 KiB
HTML

vor 8 Jahren
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
vor 8 Jahren
<!-- Generated by javadoc (1.8.0_60) on Sun Sep 11 17:57:30 CEST 2016 -->
vor 8 Jahren
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Dungeon</title>
vor 8 Jahren
<meta name="date" content="2016-09-11">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
vor 8 Jahren
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Dungeon";
}
}
catch(err) {
}
//-->
vor 8 Jahren
var methods = {"i0":9,"i1":10,"i2":10,"i3":9,"i4":10,"i5":10};
vor 8 Jahren
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
vor 8 Jahren
<li><a href="../../../../overview-summary.html">Overview</a></li>
vor 8 Jahren
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Dungeon.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
vor 8 Jahren
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
vor 8 Jahren
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
vor 8 Jahren
<li><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Mode.html" title="enum in eu.smoser.dungeongenerator.dungeon"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
vor 8 Jahren
</ul>
<ul class="navList">
vor 8 Jahren
<li><a href="../../../../index.html?eu/smoser/dungeongenerator/dungeon/Dungeon.html" target="_top">Frames</a></li>
vor 8 Jahren
<li><a href="Dungeon.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
vor 8 Jahren
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
vor 8 Jahren
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
vor 8 Jahren
<div class="subTitle">eu.smoser.dungeongenerator.dungeon</div>
vor 8 Jahren
<h2 title="Class Dungeon" class="title">Class Dungeon</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
vor 8 Jahren
<li>eu.smoser.dungeongenerator.dungeon.Dungeon</li>
vor 8 Jahren
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Dungeon</span>
extends java.lang.Object</pre>
<div class="block">Stores all information about the dungeon</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
vor 8 Jahren
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Mode.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Mode</a></span></code>
vor 8 Jahren
<div class="block">Different room generation sequence modes</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
vor 8 Jahren
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a></span></code>
vor 8 Jahren
<div class="block">The type of rooms to generate</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
vor 8 Jahren
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.html#Dungeon-int-eu.smoser.dungeongenerator.dungeon.Dungeon.Type-">Dungeon</a></span>(int&nbsp;size,
<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a>&nbsp;type)</code>
<div class="block">Standard constructor, creates a new dungeon</div>
vor 8 Jahren
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
vor 8 Jahren
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.html#Experimental-eu.smoser.dungeongenerator.dungeon.Dungeon.Type-">Experimental</a></span>(<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a>&nbsp;n)</code>
<div class="block">Checks whether a type is experimental</div>
vor 8 Jahren
</td>
</tr>
<tr id="i1" class="rowColor">
vor 8 Jahren
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.html#generate-int-eu.smoser.dungeongenerator.dungeon.Dungeon.Type-eu.smoser.dungeongenerator.dungeon.Dungeon.Mode-">generate</a></span>(int&nbsp;size,
<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a>&nbsp;type,
<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Mode.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Mode</a>&nbsp;mode)</code>
<div class="block">Generates the dungeons contents</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.HashMap</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.html#GetGreedyMap--">GetGreedyMap</a></span>()</code>
<div class="block">Returns the greedy map</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.html#Natural-eu.smoser.dungeongenerator.dungeon.Dungeon.Type-">Natural</a></span>(<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a>&nbsp;n)</code>
<div class="block">Checks whether a type is natural</div>
</td>
</tr>
<tr id="i4" class="altColor">
vor 8 Jahren
<td class="colFirst"><code>org.jgrapht.UndirectedGraph</code></td>
vor 8 Jahren
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.html#toGraph--">toGraph</a></span>()</code>
vor 8 Jahren
<div class="block">Creates a graph from the dungeon</div>
</td>
</tr>
vor 8 Jahren
<tr id="i5" class="rowColor">
vor 8 Jahren
<td class="colFirst"><code>java.lang.String</code></td>
vor 8 Jahren
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.html#toString--">toString</a></span>()</code>&nbsp;</td>
vor 8 Jahren
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
vor 8 Jahren
<a name="Dungeon-int-eu.smoser.dungeongenerator.dungeon.Dungeon.Type-">
vor 8 Jahren
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Dungeon</h4>
<pre>public&nbsp;Dungeon(int&nbsp;size,
vor 8 Jahren
<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a>&nbsp;type)</pre>
<div class="block">Standard constructor, creates a new dungeon</div>
vor 8 Jahren
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - maximum number of rooms</dd>
<dd><code>type</code> - how the rooms are to construct</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
vor 8 Jahren
<a name="GetGreedyMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GetGreedyMap</h4>
<pre>public&nbsp;java.util.HashMap&nbsp;GetGreedyMap()</pre>
<div class="block">Returns the greedy map</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="generate-int-eu.smoser.dungeongenerator.dungeon.Dungeon.Type-eu.smoser.dungeongenerator.dungeon.Dungeon.Mode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generate</h4>
<pre>public&nbsp;void&nbsp;generate(int&nbsp;size,
<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a>&nbsp;type,
<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Mode.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Mode</a>&nbsp;mode)</pre>
<div class="block">Generates the dungeons contents</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - Size of the dungeon</dd>
<dd><code>type</code> - type of environment</dd>
<dd><code>mode</code> - generation mode</dd>
</dl>
</li>
</ul>
vor 8 Jahren
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toGraph--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toGraph</h4>
<pre>public&nbsp;org.jgrapht.UndirectedGraph&nbsp;toGraph()</pre>
<div class="block">Creates a graph from the dungeon</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>UndirectedGraph from JGraphT</dd>
</dl>
</li>
</ul>
vor 8 Jahren
<a name="Natural-eu.smoser.dungeongenerator.dungeon.Dungeon.Type-">
vor 8 Jahren
<!-- -->
</a>
vor 8 Jahren
<ul class="blockList">
vor 8 Jahren
<li class="blockList">
<h4>Natural</h4>
vor 8 Jahren
<pre>public static&nbsp;boolean&nbsp;Natural(<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a>&nbsp;n)</pre>
vor 8 Jahren
<div class="block">Checks whether a type is natural</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>n</code> - type to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>is natural</dd>
</dl>
</li>
</ul>
vor 8 Jahren
<a name="Experimental-eu.smoser.dungeongenerator.dungeon.Dungeon.Type-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Experimental</h4>
<pre>public static&nbsp;boolean&nbsp;Experimental(<a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Type.html" title="enum in eu.smoser.dungeongenerator.dungeon">Dungeon.Type</a>&nbsp;n)</pre>
<div class="block">Checks whether a type is experimental</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>n</code> - type to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>is experimental</dd>
</dl>
</li>
</ul>
vor 8 Jahren
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
vor 8 Jahren
<li><a href="../../../../overview-summary.html">Overview</a></li>
vor 8 Jahren
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Dungeon.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
vor 8 Jahren
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
vor 8 Jahren
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
vor 8 Jahren
<li><a href="../../../../eu/smoser/dungeongenerator/dungeon/Dungeon.Mode.html" title="enum in eu.smoser.dungeongenerator.dungeon"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
vor 8 Jahren
</ul>
<ul class="navList">
vor 8 Jahren
<li><a href="../../../../index.html?eu/smoser/dungeongenerator/dungeon/Dungeon.html" target="_top">Frames</a></li>
vor 8 Jahren
<li><a href="Dungeon.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
vor 8 Jahren
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
vor 8 Jahren
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>