Subtrees hinzugefügt
6
Software/alg_gr_6er_wuerfeln/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
6
Software/alg_gr_6er_wuerfeln/01_6er_Wuerfeln_Loes/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
|
|
@ -0,0 +1,333 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Spieler</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Spieler";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Spieler.html" target="_top">Frames</a></li>
|
||||
<li><a href="Spieler.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </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">
|
||||
<h2 title="Class Spieler" class="title">Class Spieler</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Spieler</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Spieler</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Verwaltet einen Spieler für das Spiel 6er-Würfeln. Der Spieler hat
|
||||
jeweils die Wahl zu Würfeln oder Aufzuhören und die Punkte zu sichern.
|
||||
Würfelt er eine 6, verliert er die Punkte sofort. Dazu muss
|
||||
dem Spieler ein Würfel-Objekt bekannt sein.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 19.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Spieler.html#Spieler()">Spieler</a></strong>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#aufhoeren()">aufhoeren</a></strong>()</code>
|
||||
<div class="block">Der Spieler beendet den aktuellen Durchgang.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#getGesamtsumme()">getGesamtsumme</a></strong>()</code>
|
||||
<div class="block">Liefert die Gesamtsumme aller Durchgänge.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#getSumme()">getSumme</a></strong>()</code>
|
||||
<div class="block">Liefert die Summe der Augenzahlen des aktuellen Durchgangs.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#setWuerfel(Wuerfel)">setWuerfel</a></strong>(<a href="Wuerfel.html" title="class in <Unnamed>">Wuerfel</a> wuerfel)</code>
|
||||
<div class="block">Dem Spieler wird ein Würfel-Objekt übergeben.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#wuerfeln()">wuerfeln</a></strong>()</code>
|
||||
<div class="block">Der Spieler würfelt 1x.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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>
|
||||
<a name="Spieler()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Spieler</h4>
|
||||
<pre>public Spieler()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getSumme()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSumme</h4>
|
||||
<pre>public int getSumme()</pre>
|
||||
<div class="block">Liefert die Summe der Augenzahlen des aktuellen Durchgangs.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Summe der Augenzahlen</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getGesamtsumme()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getGesamtsumme</h4>
|
||||
<pre>public int getGesamtsumme()</pre>
|
||||
<div class="block">Liefert die Gesamtsumme aller Durchgänge. Dabei werden die Augenzahlen jedes
|
||||
Durchgangs addiert, sobald die Methode Aufhören aufgerufen wird.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Gesamtsumme aller Durchgänge.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="wuerfeln()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>wuerfeln</h4>
|
||||
<pre>public int wuerfeln()</pre>
|
||||
<div class="block">Der Spieler würfelt 1x. Wirft er eine 6 verliert er die aktuell gesammelten
|
||||
Augen, ansonsten wird die gewürfelte Zahl hinzuaddiert.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Summe der Augenzahlen des aktuellen Durchgangs</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="aufhoeren()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>aufhoeren</h4>
|
||||
<pre>public void aufhoeren()</pre>
|
||||
<div class="block">Der Spieler beendet den aktuellen Durchgang. Alle in diesem Durchgang gesammelten
|
||||
Punkte werden zur Gesamtsumme hinzuaddiert.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setWuerfel(Wuerfel)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setWuerfel</h4>
|
||||
<pre>public void setWuerfel(<a href="Wuerfel.html" title="class in <Unnamed>">Wuerfel</a> wuerfel)</pre>
|
||||
<div class="block">Dem Spieler wird ein Würfel-Objekt übergeben.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wuerfel</code> - Würfel, den der Spieler benutzen soll.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Spieler.html" target="_top">Frames</a></li>
|
||||
<li><a href="Spieler.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,281 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Wuerfel</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Wuerfel";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Wuerfel.html" target="_top">Frames</a></li>
|
||||
<li><a href="Wuerfel.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </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">
|
||||
<h2 title="Class Wuerfel" class="title">Class Wuerfel</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Wuerfel</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Wuerfel</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Die Klasse Würfel stellt die Fähigkeiten eines Würfels bereit. Beim Würfeln werden
|
||||
Zufallszahlen zwischen 1 und 6 erzeugt. Das Ergebnis des letzten Wurfs kann abgefragt
|
||||
werden.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 19.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Wuerfel.html#Wuerfel()">Wuerfel</a></strong>()</code>
|
||||
<div class="block">Erzeugt einen Würfeln.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Wuerfel.html#getWurf()">getWurf</a></strong>()</code>
|
||||
<div class="block">Liefert die Augenzahl des letzten Würfelwurfs.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Wuerfel.html#wuerfeln()">wuerfeln</a></strong>()</code>
|
||||
<div class="block">Der Würfel wird geworfen.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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>
|
||||
<a name="Wuerfel()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Wuerfel</h4>
|
||||
<pre>public Wuerfel()</pre>
|
||||
<div class="block">Erzeugt einen Würfeln.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getWurf()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWurf</h4>
|
||||
<pre>public int getWurf()</pre>
|
||||
<div class="block">Liefert die Augenzahl des letzten Würfelwurfs.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Augenzahl</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="wuerfeln()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>wuerfeln</h4>
|
||||
<pre>public void wuerfeln()</pre>
|
||||
<div class="block">Der Würfel wird geworfen. Dazu wird eine neue Zufallszahl zwischen 1 und 6 erzeugt.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Wuerfel.html" target="_top">Frames</a></li>
|
||||
<li><a href="Wuerfel.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>" target="classFrame">Spieler</a></li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>" target="classFrame">Wuerfel</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>">Spieler</a></li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Constant Field Values</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>Deprecated List</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Deprecated List";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Deprecated API" class="title">Deprecated API</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,208 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>API Help</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">How This API Document Is Organized</h1>
|
||||
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h2>Package</h2>
|
||||
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
|
||||
<ul>
|
||||
<li>Interfaces (italic)</li>
|
||||
<li>Classes</li>
|
||||
<li>Enums</li>
|
||||
<li>Exceptions</li>
|
||||
<li>Errors</li>
|
||||
<li>Annotation Types</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Class/Interface</h2>
|
||||
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
|
||||
<ul>
|
||||
<li>Class inheritance diagram</li>
|
||||
<li>Direct Subclasses</li>
|
||||
<li>All Known Subinterfaces</li>
|
||||
<li>All Known Implementing Classes</li>
|
||||
<li>Class/interface declaration</li>
|
||||
<li>Class/interface description</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Nested Class Summary</li>
|
||||
<li>Field Summary</li>
|
||||
<li>Constructor Summary</li>
|
||||
<li>Method Summary</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Field Detail</li>
|
||||
<li>Constructor Detail</li>
|
||||
<li>Method Detail</li>
|
||||
</ul>
|
||||
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Annotation Type</h2>
|
||||
<p>Each annotation type has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Annotation Type declaration</li>
|
||||
<li>Annotation Type description</li>
|
||||
<li>Required Element Summary</li>
|
||||
<li>Optional Element Summary</li>
|
||||
<li>Element Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Enum</h2>
|
||||
<p>Each enum has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Enum declaration</li>
|
||||
<li>Enum description</li>
|
||||
<li>Enum Constant Summary</li>
|
||||
<li>Enum Constant Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Tree (Class Hierarchy)</h2>
|
||||
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||
<ul>
|
||||
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
|
||||
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Deprecated API</h2>
|
||||
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Index</h2>
|
||||
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Prev/Next</h2>
|
||||
<p>These links take you to the next or previous class, interface, package, or related page.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Frames/No Frames</h2>
|
||||
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>All Classes</h2>
|
||||
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Serialized Form</h2>
|
||||
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Constant Field Values</h2>
|
||||
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<em>This help file applies to API documentation generated using the standard doclet.</em></div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,174 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Index</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Index";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="./package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="./overview-tree.html">Tree</a></li>
|
||||
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="./help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||||
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="contentContainer"><a href="#_A_">A</a> <a href="#_G_">G</a> <a href="#_S_">S</a> <a href="#_W_">W</a> <a name="_A_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">A</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#aufhoeren()">aufhoeren()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Der Spieler beendet den aktuellen Durchgang.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_G_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">G</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#getGesamtsumme()">getGesamtsumme()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Gesamtsumme aller Durchgänge.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#getSumme()">getSumme()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Summe der Augenzahlen des aktuellen Durchgangs.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Wuerfel.html#getWurf()">getWurf()</a></span> - Method in class <a href="./Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Augenzahl des letzten Würfelwurfs.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_S_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">S</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#setWuerfel(Wuerfel)">setWuerfel(Wuerfel)</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Dem Spieler wird ein Würfel-Objekt übergeben.</div>
|
||||
</dd>
|
||||
<dt><a href="./Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Verwaltet einen Spieler für das Spiel 6er-Würfeln.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#Spieler()">Spieler()</a></span> - Constructor for class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a name="_W_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">W</h2>
|
||||
<dl>
|
||||
<dt><a href="./Wuerfel.html" title="class in <Unnamed>"><span class="strong">Wuerfel</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Die Klasse Würfel stellt die Fähigkeiten eines Würfels bereit.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Wuerfel.html#Wuerfel()">Wuerfel()</a></span> - Constructor for class <a href="./Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt einen Würfeln.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#wuerfeln()">wuerfeln()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Der Spieler würfelt 1x.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Wuerfel.html#wuerfeln()">wuerfeln()</a></span> - Method in class <a href="./Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Der Würfel wird geworfen.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a href="#_A_">A</a> <a href="#_G_">G</a> <a href="#_S_">S</a> <a href="#_W_">W</a> </div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="./package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="./overview-tree.html">Tree</a></li>
|
||||
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="./help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||||
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc on Tue Sep 04 10:58:35 CEST 2012 -->
|
||||
<title>Generated Documentation (Untitled)</title>
|
||||
<script type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1)
|
||||
targetPage = "undefined";
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
|
||||
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
<frame src="Spieler.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<noframes>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<h2>Frame Alert</h2>
|
||||
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="Spieler.html">Non-frame version</a>.</p>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>Class Hierarchy</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For All Packages</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle"><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a></li>
|
||||
<li type="circle"><a href="Wuerfel.html" title="class in <Unnamed>"><span class="strong">Wuerfel</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title>&lt;Unnamed&gt;</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="package-summary.html" target="classFrame"><Unnamed></a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>" target="classFrame">Spieler</a></li>
|
||||
<li><a href="Wuerfel.html" title="class in <Unnamed>" target="classFrame">Wuerfel</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,130 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="Spieler.html" title="class in <Unnamed>">Spieler</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Verwaltet einen Spieler für das Spiel 6er-Würfeln.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="Wuerfel.html" title="class in <Unnamed>">Wuerfel</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Die Klasse Würfel stellt die Fähigkeiten eines Würfels bereit.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Tue Sep 04 10:58:34 CEST 2012 -->
|
||||
<title> Class Hierarchy</title>
|
||||
<meta name="date" content="2012-09-04">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title=" Class Hierarchy";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle"><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a></li>
|
||||
<li type="circle"><a href="Wuerfel.html" title="class in <Unnamed>"><span class="strong">Wuerfel</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</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>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 291 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 849 B |
|
|
@ -0,0 +1,474 @@
|
|||
/* Javadoc style sheet */
|
||||
/*
|
||||
Overall document style
|
||||
*/
|
||||
body {
|
||||
background-color:#ffffff;
|
||||
color:#353833;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:76%;
|
||||
margin:0;
|
||||
}
|
||||
a:link, a:visited {
|
||||
text-decoration:none;
|
||||
color:#4c6b87;
|
||||
}
|
||||
a:hover, a:focus {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
}
|
||||
a:active {
|
||||
text-decoration:none;
|
||||
color:#4c6b87;
|
||||
}
|
||||
a[name] {
|
||||
color:#353833;
|
||||
}
|
||||
a[name]:hover {
|
||||
text-decoration:none;
|
||||
color:#353833;
|
||||
}
|
||||
pre {
|
||||
font-size:1.3em;
|
||||
}
|
||||
h1 {
|
||||
font-size:1.8em;
|
||||
}
|
||||
h2 {
|
||||
font-size:1.5em;
|
||||
}
|
||||
h3 {
|
||||
font-size:1.4em;
|
||||
}
|
||||
h4 {
|
||||
font-size:1.3em;
|
||||
}
|
||||
h5 {
|
||||
font-size:1.2em;
|
||||
}
|
||||
h6 {
|
||||
font-size:1.1em;
|
||||
}
|
||||
ul {
|
||||
list-style-type:disc;
|
||||
}
|
||||
code, tt {
|
||||
font-size:1.2em;
|
||||
}
|
||||
dt code {
|
||||
font-size:1.2em;
|
||||
}
|
||||
table tr td dt code {
|
||||
font-size:1.2em;
|
||||
vertical-align:top;
|
||||
}
|
||||
sup {
|
||||
font-size:.6em;
|
||||
}
|
||||
/*
|
||||
Document title and Copyright styles
|
||||
*/
|
||||
.clear {
|
||||
clear:both;
|
||||
height:0px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.aboutLanguage {
|
||||
float:right;
|
||||
padding:0px 21px;
|
||||
font-size:.8em;
|
||||
z-index:200;
|
||||
margin-top:-7px;
|
||||
}
|
||||
.legalCopy {
|
||||
margin-left:.5em;
|
||||
}
|
||||
.bar a, .bar a:link, .bar a:visited, .bar a:active {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
.bar a:hover, .bar a:focus {
|
||||
color:#bb7a2a;
|
||||
}
|
||||
.tab {
|
||||
background-color:#0066FF;
|
||||
background-image:url(resources/titlebar.gif);
|
||||
background-position:left top;
|
||||
background-repeat:no-repeat;
|
||||
color:#ffffff;
|
||||
padding:8px;
|
||||
width:5em;
|
||||
font-weight:bold;
|
||||
}
|
||||
/*
|
||||
Navigation bar styles
|
||||
*/
|
||||
.bar {
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
padding:.8em .5em .4em .8em;
|
||||
height:auto;/*height:1.8em;*/
|
||||
font-size:1em;
|
||||
margin:0;
|
||||
}
|
||||
.topNav {
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.bottomNav {
|
||||
margin-top:10px;
|
||||
background-image:url(resources/background.gif);
|
||||
background-repeat:repeat-x;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.subNav {
|
||||
background-color:#dee3e9;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
float:left;
|
||||
width:100%;
|
||||
overflow:hidden;
|
||||
}
|
||||
.subNav div {
|
||||
clear:left;
|
||||
float:left;
|
||||
padding:0 0 5px 6px;
|
||||
}
|
||||
ul.navList, ul.subNavList {
|
||||
float:left;
|
||||
margin:0 25px 0 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.navList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
padding:3px 6px;
|
||||
}
|
||||
ul.subNavList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
font-size:90%;
|
||||
}
|
||||
.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
.topNav a:hover, .bottomNav a:hover {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
}
|
||||
.navBarCell1Rev {
|
||||
background-image:url(resources/tab.gif);
|
||||
background-color:#a88834;
|
||||
color:#FFFFFF;
|
||||
margin: auto 5px;
|
||||
border:1px solid #c9aa44;
|
||||
}
|
||||
/*
|
||||
Page header and footer styles
|
||||
*/
|
||||
.header, .footer {
|
||||
clear:both;
|
||||
margin:0 20px;
|
||||
padding:5px 0 0 0;
|
||||
}
|
||||
.indexHeader {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
}
|
||||
.indexHeader h1 {
|
||||
font-size:1.3em;
|
||||
}
|
||||
.title {
|
||||
color:#2c4557;
|
||||
margin:10px 0;
|
||||
}
|
||||
.subTitle {
|
||||
margin:5px 0 0 0;
|
||||
}
|
||||
.header ul {
|
||||
margin:0 0 25px 0;
|
||||
padding:0;
|
||||
}
|
||||
.footer ul {
|
||||
margin:20px 0 5px 0;
|
||||
}
|
||||
.header ul li, .footer ul li {
|
||||
list-style:none;
|
||||
font-size:1.2em;
|
||||
}
|
||||
/*
|
||||
Heading styles
|
||||
*/
|
||||
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
|
||||
background-color:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:2px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
||||
background-color:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:2px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList h3 {
|
||||
padding:0;
|
||||
margin:15px 0;
|
||||
}
|
||||
ul.blockList li.blockList h2 {
|
||||
padding:0px 0 20px 0;
|
||||
}
|
||||
/*
|
||||
Page layout container styles
|
||||
*/
|
||||
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
|
||||
clear:both;
|
||||
padding:10px 20px;
|
||||
position:relative;
|
||||
}
|
||||
.indexContainer {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
font-size:1.0em;
|
||||
}
|
||||
.indexContainer h2 {
|
||||
font-size:1.1em;
|
||||
padding:0 0 3px 0;
|
||||
}
|
||||
.indexContainer ul {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
.indexContainer ul li {
|
||||
list-style:none;
|
||||
}
|
||||
.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
|
||||
font-size:1.1em;
|
||||
font-weight:bold;
|
||||
margin:10px 0 0 0;
|
||||
color:#4E4E4E;
|
||||
}
|
||||
.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
|
||||
margin:10px 0 10px 20px;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dt {
|
||||
margin-left:1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
font-weight:bold;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dd {
|
||||
margin:0 0 0 1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
}
|
||||
/*
|
||||
List styles
|
||||
*/
|
||||
ul.horizontal li {
|
||||
display:inline;
|
||||
font-size:0.9em;
|
||||
}
|
||||
ul.inheritance {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
ul.inheritance li {
|
||||
display:inline;
|
||||
list-style:none;
|
||||
}
|
||||
ul.inheritance li ul.inheritance {
|
||||
margin-left:15px;
|
||||
padding-left:15px;
|
||||
padding-top:1px;
|
||||
}
|
||||
ul.blockList, ul.blockListLast {
|
||||
margin:10px 0 10px 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.blockList li.blockList, ul.blockListLast li.blockList {
|
||||
list-style:none;
|
||||
margin-bottom:25px;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0px 20px 5px 10px;
|
||||
border:1px solid #9eadc0;
|
||||
background-color:#f9f9f9;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0 0 5px 8px;
|
||||
background-color:#ffffff;
|
||||
border:1px solid #9eadc0;
|
||||
border-top:none;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
|
||||
margin-left:0;
|
||||
padding-left:0;
|
||||
padding-bottom:15px;
|
||||
border:none;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
|
||||
list-style:none;
|
||||
border-bottom:none;
|
||||
padding-bottom:0;
|
||||
}
|
||||
table tr td dl, table tr td dl dt, table tr td dl dd {
|
||||
margin-top:0;
|
||||
margin-bottom:1px;
|
||||
}
|
||||
/*
|
||||
Table styles
|
||||
*/
|
||||
.contentContainer table, .classUseContainer table, .constantValuesContainer table {
|
||||
border-bottom:1px solid #9eadc0;
|
||||
width:100%;
|
||||
}
|
||||
.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table {
|
||||
width:100%;
|
||||
}
|
||||
.contentContainer .description table, .contentContainer .details table {
|
||||
border-bottom:none;
|
||||
}
|
||||
.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{
|
||||
vertical-align:top;
|
||||
padding-right:20px;
|
||||
}
|
||||
.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast,
|
||||
.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast,
|
||||
.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne,
|
||||
.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne {
|
||||
padding-right:3px;
|
||||
}
|
||||
.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption {
|
||||
position:relative;
|
||||
text-align:left;
|
||||
background-repeat:no-repeat;
|
||||
color:#FFFFFF;
|
||||
font-weight:bold;
|
||||
clear:none;
|
||||
overflow:hidden;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
}
|
||||
caption a:link, caption a:hover, caption a:active, caption a:visited {
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span {
|
||||
white-space:nowrap;
|
||||
padding-top:8px;
|
||||
padding-left:8px;
|
||||
display:block;
|
||||
float:left;
|
||||
background-image:url(resources/titlebar.gif);
|
||||
height:18px;
|
||||
}
|
||||
.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd {
|
||||
width:10px;
|
||||
background-image:url(resources/titlebar_end.gif);
|
||||
background-repeat:no-repeat;
|
||||
background-position:top right;
|
||||
position:relative;
|
||||
float:left;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList table {
|
||||
margin:0 0 12px 0px;
|
||||
width:100%;
|
||||
}
|
||||
.tableSubHeadingColor {
|
||||
background-color: #EEEEFF;
|
||||
}
|
||||
.altColor {
|
||||
background-color:#eeeeef;
|
||||
}
|
||||
.rowColor {
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td {
|
||||
text-align:left;
|
||||
padding:3px 3px 3px 7px;
|
||||
}
|
||||
th.colFirst, th.colLast, th.colOne, .constantValuesContainer th {
|
||||
background:#dee3e9;
|
||||
border-top:1px solid #9eadc0;
|
||||
border-bottom:1px solid #9eadc0;
|
||||
text-align:left;
|
||||
padding:3px 3px 3px 7px;
|
||||
}
|
||||
td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
|
||||
font-weight:bold;
|
||||
}
|
||||
td.colFirst, th.colFirst {
|
||||
border-left:1px solid #9eadc0;
|
||||
white-space:nowrap;
|
||||
}
|
||||
td.colLast, th.colLast {
|
||||
border-right:1px solid #9eadc0;
|
||||
}
|
||||
td.colOne, th.colOne {
|
||||
border-right:1px solid #9eadc0;
|
||||
border-left:1px solid #9eadc0;
|
||||
}
|
||||
table.overviewSummary {
|
||||
padding:0px;
|
||||
margin-left:0px;
|
||||
}
|
||||
table.overviewSummary td.colFirst, table.overviewSummary th.colFirst,
|
||||
table.overviewSummary td.colOne, table.overviewSummary th.colOne {
|
||||
width:25%;
|
||||
vertical-align:middle;
|
||||
}
|
||||
table.packageSummary td.colFirst, table.overviewSummary th.colFirst {
|
||||
width:25%;
|
||||
vertical-align:middle;
|
||||
}
|
||||
/*
|
||||
Content styles
|
||||
*/
|
||||
.description pre {
|
||||
margin-top:0;
|
||||
}
|
||||
.deprecatedContent {
|
||||
margin:0;
|
||||
padding:10px 0;
|
||||
}
|
||||
.docSummary {
|
||||
padding:0;
|
||||
}
|
||||
/*
|
||||
Formatting effect styles
|
||||
*/
|
||||
.sourceLineNo {
|
||||
color:green;
|
||||
padding:0 30px 0 0;
|
||||
}
|
||||
h1.hidden {
|
||||
visibility:hidden;
|
||||
overflow:hidden;
|
||||
font-size:.9em;
|
||||
}
|
||||
.block {
|
||||
display:block;
|
||||
margin:3px 0 0 0;
|
||||
}
|
||||
.strong {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
/**
|
||||
* Verwaltet einen Spieler fuer das Spiel 6er-Wuerfeln. Der Spieler hat
|
||||
* jeweils die Wahl zu Wuerfeln oder Aufzuhueren und die Punkte zu sichern.
|
||||
* Wuerfelt er eine 6, verliert er die Punkte sofort. Dazu muss
|
||||
* dem Spieler ein Wuerfel-Objekt bekannt sein.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Spieler {
|
||||
|
||||
// Anfang Attribute
|
||||
// Summe der Augenzahlen des aktuelle Durchgangs
|
||||
private int summe = 0;
|
||||
// Gesamtsumme der Augenzahlen aller Durchguenge
|
||||
private int gesamtsumme = 0;
|
||||
// Wuerfel-Objekt, das zum Wuerfeln verwendet wird.
|
||||
private Wuerfel wuerfel = null;
|
||||
// Ende Attribute
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert die Summe der Augenzahlen des aktuellen Durchgangs.
|
||||
* @return Summe der Augenzahlen
|
||||
*/
|
||||
public int getSumme() {
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Liefert die Gesamtsumme aller Durchguenge. Dabei werden die Augenzahlen jedes
|
||||
* Durchgangs addiert, sobald die Methode Aufhueren aufgerufen wird.
|
||||
* @return Gesamtsumme aller Durchguenge.
|
||||
*/
|
||||
public int getGesamtsumme() {
|
||||
return gesamtsumme;
|
||||
}
|
||||
|
||||
/** Der Spieler wuerfelt 1x. Wirft er eine 6 verliert er die aktuell gesammelten
|
||||
* Augen, ansonsten wird die gewuerfelte Zahl hinzuaddiert.
|
||||
* @return Summe der Augenzahlen des aktuellen Durchgangs
|
||||
*/
|
||||
public int wuerfeln() {
|
||||
wuerfel.wuerfeln();
|
||||
if (wuerfel.getWurf()==6) {
|
||||
summe = 0;
|
||||
} else {
|
||||
summe = summe + wuerfel.getWurf();
|
||||
}// end of if
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Der Spieler beendet den aktuellen Durchgang. Alle in diesem Durchgang gesammelten
|
||||
* Punkte werden zur Gesamtsumme hinzuaddiert.
|
||||
*/
|
||||
public void aufhoeren() {
|
||||
gesamtsumme = gesamtsumme + summe;
|
||||
summe = 0;
|
||||
}
|
||||
|
||||
/** Dem Spieler wird ein Wuerfel-Objekt uebergeben.
|
||||
* @param wuerfel Wuerfel, den der Spieler benutzen soll.
|
||||
*/
|
||||
public void setWuerfel(Wuerfel wuerfel) {
|
||||
this.wuerfel = wuerfel;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Spieler
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Die Klasse Wuerfel stellt die Fuehigkeiten eines Wuerfels bereit. Beim Wuerfeln werden
|
||||
* Zufallszahlen zwischen 1 und 6 erzeugt. Das Ergebnis des letzten Wurfs kann abgefragt
|
||||
* werden.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Wuerfel {
|
||||
|
||||
// Anfang Attribute
|
||||
// Speichert den aktuellen Wurf
|
||||
private int wurf;
|
||||
// Stellt ein Random-Objekt fuer die Erzeugung der Zufallszahlen bereit
|
||||
private Random zufallszahlen = new Random();
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt einen Wuerfeln.
|
||||
*/
|
||||
public Wuerfel() {;
|
||||
// Am Anfang sofort eine Zufallszahl erzeugen
|
||||
wuerfeln();
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert die Augenzahl des letzten Wuerfelwurfs.
|
||||
* @return Augenzahl
|
||||
*/
|
||||
public int getWurf() {
|
||||
return wurf;
|
||||
}
|
||||
|
||||
/** Der Wuerfel wird geworfen. Dazu wird eine neue Zufallszahl zwischen 1 und 6 erzeugt.
|
||||
*/
|
||||
public void wuerfeln() {
|
||||
wurf = zufallszahlen.nextInt(6)+1;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Wuerfel
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
#BlueJ package file
|
||||
dependency1.from=Spieler
|
||||
dependency1.to=Wuerfel
|
||||
dependency1.type=UsesDependency
|
||||
editor.fx.0.height=0
|
||||
editor.fx.0.width=0
|
||||
editor.fx.0.x=0
|
||||
editor.fx.0.y=0
|
||||
objectbench.height=93
|
||||
objectbench.width=417
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.726027397260274
|
||||
package.editor.height=258
|
||||
package.editor.width=295
|
||||
package.editor.x=479
|
||||
package.editor.y=219
|
||||
package.frame.height=466
|
||||
package.frame.width=441
|
||||
package.numDependencies=1
|
||||
package.numTargets=2
|
||||
package.showExtends=true
|
||||
package.showUses=true
|
||||
project.charset=UTF-8
|
||||
readme.height=60
|
||||
readme.name=@README
|
||||
readme.width=49
|
||||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=70
|
||||
target1.name=Spieler
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=120
|
||||
target1.x=130
|
||||
target1.y=10
|
||||
target2.height=70
|
||||
target2.name=Wuerfel
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=120
|
||||
target2.x=10
|
||||
target2.y=90
|
||||
6
Software/alg_gr_6er_wuerfeln/02_6er_Wuerfeln_mit_GUI_Loes/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
|
|
@ -0,0 +1,129 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
Swing-component for input and output of numeric values.
|
||||
*/
|
||||
|
||||
public class JNumberField extends JTextField {
|
||||
|
||||
/** constructor for a JNumberField */
|
||||
public JNumberField() {
|
||||
enableEvents(AWTEvent.KEY_EVENT_MASK);
|
||||
}
|
||||
|
||||
/** Gets a double-value from the JNumberField. */
|
||||
public double getDouble() {
|
||||
Double d = new Double(getText());
|
||||
return d.doubleValue();
|
||||
}
|
||||
|
||||
/** Gets a float-value from the JNumberField. */
|
||||
public float getFloat() {
|
||||
Double d = new Double(getText());
|
||||
return d.floatValue();
|
||||
}
|
||||
|
||||
/** Gets an int-value from the JNumberField. */
|
||||
public int getInt() {
|
||||
Double d = new Double(getText());
|
||||
return d.intValue();
|
||||
}
|
||||
|
||||
/** Gets a long-value from the JNumberField. */
|
||||
public long getLong() {
|
||||
Double d = new Double(getText());
|
||||
return d.longValue();
|
||||
}
|
||||
|
||||
/** Checks wether the JNumberField contains a valid numeric value. */
|
||||
public boolean isNumeric() {
|
||||
final String Digits = "(\\p{Digit}+)";
|
||||
final String HexDigits = "(\\p{XDigit}+)";
|
||||
// an exponent is 'e' or 'E' followed by an optionally
|
||||
// signed decimal integer.
|
||||
final String Exp = "[eE][+-]?"+Digits;
|
||||
final String fpRegex =
|
||||
("[\\x00-\\x20]*"+ // Optional leading "whitespace"
|
||||
"[+-]?(" + // Optional sign character
|
||||
"NaN|" + // "NaN" string
|
||||
"Infinity|" + // "Infinity" string
|
||||
|
||||
// A decimal floating-point string representing a finite positive
|
||||
// number without a leading sign has at most five basic pieces:
|
||||
// Digits . Digits ExponentPart FloatTypeSuffix
|
||||
//
|
||||
// Since this method allows integer-only strings as input
|
||||
// in addition to strings of floating-point literals, the
|
||||
// two sub-patterns below are simplifications of the grammar
|
||||
// productions from the Java Language Specification, 2nd
|
||||
// edition, section 3.10.2.
|
||||
|
||||
// Digits ._opt Digits_opt ExponentPart_opt FloatTypeSuffix_opt
|
||||
"((("+Digits+"(\\.)?("+Digits+"?)("+Exp+")?)|"+
|
||||
|
||||
// . Digits ExponentPart_opt FloatTypeSuffix_opt
|
||||
"(\\.("+Digits+")("+Exp+")?)|"+
|
||||
|
||||
// Hexadecimal strings
|
||||
"((" +
|
||||
// 0[xX] HexDigits ._opt BinaryExponent FloatTypeSuffix_opt
|
||||
"(0[xX]" + HexDigits + "(\\.)?)|" +
|
||||
|
||||
// 0[xX] HexDigits_opt . HexDigits BinaryExponent FloatTypeSuffix_opt
|
||||
"(0[xX]" + HexDigits + "?(\\.)" + HexDigits + ")" +
|
||||
|
||||
")[pP][+-]?" + Digits + "))" +
|
||||
"[fFdD]?))" +
|
||||
"[\\x00-\\x20]*");// Optional trailing "whitespace"
|
||||
|
||||
return java.util.regex.Pattern.matches(fpRegex, getText());
|
||||
}
|
||||
|
||||
/** Sets a double-value into the JNumberField. */
|
||||
public void setDouble(double d) {
|
||||
setText(String.valueOf(d));
|
||||
}
|
||||
|
||||
/** Sets a double-value with N digits into the JNumberField. */
|
||||
public void setDouble(double d, int N) {
|
||||
setText(String.format(Locale.ENGLISH, "%." + N + "f", d));
|
||||
}
|
||||
|
||||
/** Sets a float-value into the JNumberField. */
|
||||
public void setFloat(float f) {
|
||||
setText(String.valueOf(f));
|
||||
}
|
||||
|
||||
/** Sets a float-value with N digits into the JNumberField. */
|
||||
public void setFloat(float f, int N) {
|
||||
setText(String.format(Locale.ENGLISH, "%." + N + "f", f));
|
||||
}
|
||||
|
||||
/** Sets an int-value into the JNumberField. */
|
||||
public void setInt(int i) {
|
||||
setText(String.valueOf(i));
|
||||
}
|
||||
|
||||
/** Sets a long-value into the JNumberField. */
|
||||
public void setLong(long l) {
|
||||
setText(String.valueOf(l));
|
||||
}
|
||||
|
||||
/** Clears the JNumberField */
|
||||
public void clear() {
|
||||
setText("");
|
||||
}
|
||||
|
||||
protected void processKeyEvent(KeyEvent e) {
|
||||
super.processKeyEvent(e);
|
||||
if (isNumeric() || getText().equals("-") ||
|
||||
getText().equals("") || getText().equals("."))
|
||||
setBackground(Color.white);
|
||||
else
|
||||
setBackground(Color.red);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,264 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import javax.swing.event.*;
|
||||
|
||||
/**
|
||||
* Stellt eine GUI fuer das Spiel 6er-Wuerfeln bereit. Es kuennen zwei Spieler
|
||||
* gegeneinander spielen. Es startet immer Spieler 1. Dieser kann so lange
|
||||
* wuerfeln wie er muechte, solange er keine 6 wuerfelt. Danach werden die Buttons
|
||||
* fuer Spieler 2 aktiviert.
|
||||
*
|
||||
* @version 1.0 vom 16.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class SechserWuerfelnGUI extends JFrame {
|
||||
|
||||
// Anfang Attribute
|
||||
|
||||
// Wuerfel fuer das Spiel erzeugen
|
||||
private Wuerfel w = new Wuerfel();
|
||||
// Zwei Spieler erzeugen
|
||||
private Spieler sp1 = new Spieler();
|
||||
private Spieler sp2 = new Spieler();
|
||||
|
||||
// Elemente der GUI
|
||||
private JPanel jPanel1 = new JPanel(null, true);
|
||||
private JLabel jLabel1 = new JLabel();
|
||||
private JNumberField jNFGesamtpunkte1 = new JNumberField();
|
||||
private JPanel jPanel3 = new JPanel(null, true);
|
||||
private JButton jBSpieler1Wuerfeln = new JButton();
|
||||
private JButton jBSpieler1Beenden = new JButton();
|
||||
private JLabel jLabel4 = new JLabel();
|
||||
private JLabel jLabel5 = new JLabel();
|
||||
private JNumberField jNFWuerfel1 = new JNumberField();
|
||||
private JNumberField jNFPunkte1 = new JNumberField();
|
||||
private JLabel jLabel3 = new JLabel();
|
||||
private WuerfelPanel wuerfelPanel1 = new WuerfelPanel(w);
|
||||
private JPanel jPanel11 = new JPanel(null, true);
|
||||
private JLabel jLabel11 = new JLabel();
|
||||
private JNumberField jNFGesamtpunkte2 = new JNumberField();
|
||||
private JPanel jPanel31 = new JPanel(null, true);
|
||||
private JButton jBSpieler2Wuerfeln = new JButton();
|
||||
private JButton jBSpieler2Beenden = new JButton();
|
||||
private JNumberField jNFWuerfel2 = new JNumberField();
|
||||
private JNumberField jNFPunkte2 = new JNumberField();
|
||||
private JLabel jLabel41 = new JLabel();
|
||||
private JLabel jLabel51 = new JLabel();
|
||||
private JLabel jLabel31 = new JLabel();
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt die GUI
|
||||
* @param title Fenstertitel
|
||||
*/
|
||||
public SechserWuerfelnGUI(String title) {
|
||||
// Frame-Initialisierung
|
||||
super(title);
|
||||
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||
int frameWidth = 536;
|
||||
int frameHeight = 205;
|
||||
setSize(frameWidth, frameHeight);
|
||||
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
|
||||
int x = (d.width - getSize().width) / 2;
|
||||
int y = (d.height - getSize().height) / 2;
|
||||
setLocation(x, y);
|
||||
setResizable(false);
|
||||
Container cp = getContentPane();
|
||||
cp.setLayout(null);
|
||||
// Anfang Komponenten
|
||||
|
||||
jPanel1.setBounds(8, 8, 193, 161);
|
||||
jPanel1.setOpaque(true);
|
||||
jPanel1.setBackground(new Color(0xC0C0C0));
|
||||
cp.add(jPanel1);
|
||||
jLabel1.setBounds(8, 8, 110, 20);
|
||||
jLabel1.setText("Spieler 1");
|
||||
jPanel1.add(jLabel1);
|
||||
wuerfelPanel1.setBounds(216, 40, 97, 89);
|
||||
cp.add(wuerfelPanel1);
|
||||
jNFGesamtpunkte1.setBounds(120, 32, 51, 20);
|
||||
jNFGesamtpunkte1.setText("0");
|
||||
jNFGesamtpunkte1.setEditable(false);
|
||||
jNFGesamtpunkte1.setHorizontalAlignment(SwingConstants.RIGHT);
|
||||
jPanel1.add(jNFGesamtpunkte1);
|
||||
jPanel3.setBounds(8, 64, 177, 89);
|
||||
jPanel3.setOpaque(false);
|
||||
jPanel3.setBorder(BorderFactory.createEtchedBorder(1, new Color(0xC0C0C0), Color.DARK_GRAY));
|
||||
jPanel1.add(jPanel3);
|
||||
jLabel3.setBounds(8, 32, 94, 20);
|
||||
jLabel3.setText("Gesamtpunkte");
|
||||
jPanel1.add(jLabel3);
|
||||
jBSpieler1Wuerfeln.setBounds(8, 56, 75, 25);
|
||||
jBSpieler1Wuerfeln.setText("Wuerfeln");
|
||||
jBSpieler1Wuerfeln.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler1Wuerfeln.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler1Wuerfeln_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPanel3.add(jBSpieler1Wuerfeln);
|
||||
jBSpieler1Beenden.setBounds(88, 56, 75, 25);
|
||||
jBSpieler1Beenden.setText("Sichern");
|
||||
jBSpieler1Beenden.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler1Beenden.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler1Beenden_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPanel3.add(jBSpieler1Beenden);
|
||||
jLabel4.setBounds(8, 8, 88, 20);
|
||||
jLabel4.setText("aktueller Wurf:");
|
||||
jPanel3.add(jLabel4);
|
||||
jLabel5.setBounds(8, 32, 86, 20);
|
||||
jLabel5.setText("Punkte:");
|
||||
jPanel3.add(jLabel5);
|
||||
jNFWuerfel1.setBounds(112, 8, 51, 20);
|
||||
jNFWuerfel1.setText("");
|
||||
jNFWuerfel1.setEditable(false);
|
||||
jNFWuerfel1.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPanel3.add(jNFWuerfel1);
|
||||
jNFPunkte1.setBounds(112, 32, 51, 20);
|
||||
jNFPunkte1.setText("");
|
||||
jNFPunkte1.setEditable(false);
|
||||
jNFPunkte1.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPanel3.add(jNFPunkte1);
|
||||
jPanel11.setBounds(328, 8, 193, 161);
|
||||
jPanel11.setOpaque(true);
|
||||
jPanel11.setBackground(new Color(0xC0C0C0));
|
||||
cp.add(jPanel11);
|
||||
jLabel11.setBounds(8, 8, 110, 20);
|
||||
jLabel11.setText("Spieler 2");
|
||||
jPanel11.add(jLabel11);
|
||||
jNFGesamtpunkte2.setBounds(120, 32, 51, 20);
|
||||
jNFGesamtpunkte2.setText("0");
|
||||
jNFGesamtpunkte2.setEditable(false);
|
||||
jNFGesamtpunkte2.setHorizontalAlignment(SwingConstants.RIGHT);
|
||||
jPanel11.add(jNFGesamtpunkte2);
|
||||
jPanel31.setBounds(8, 64, 177, 89);
|
||||
jPanel31.setOpaque(false);
|
||||
jPanel31.setBorder(BorderFactory.createEtchedBorder(1, new Color(0xC0C0C0), Color.DARK_GRAY));
|
||||
jPanel11.add(jPanel31);
|
||||
jLabel31.setBounds(8, 32, 94, 20);
|
||||
jLabel31.setText("Gesamtpunkte");
|
||||
jPanel11.add(jLabel31);
|
||||
jBSpieler2Wuerfeln.setBounds(8, 56, 75, 25);
|
||||
jBSpieler2Wuerfeln.setText("Wuerfeln");
|
||||
jBSpieler2Wuerfeln.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler2Wuerfeln.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler2Wuerfeln_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBSpieler2Wuerfeln.setEnabled(false);
|
||||
jPanel31.add(jBSpieler2Wuerfeln);
|
||||
jBSpieler2Beenden.setBounds(88, 56, 75, 25);
|
||||
jBSpieler2Beenden.setText("Sichern");
|
||||
jBSpieler2Beenden.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler2Beenden.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler2Beenden_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBSpieler2Beenden.setEnabled(false);
|
||||
jPanel31.add(jBSpieler2Beenden);
|
||||
jNFWuerfel2.setBounds(112, 8, 51, 20);
|
||||
jNFWuerfel2.setText("");
|
||||
jNFWuerfel2.setEditable(false);
|
||||
jNFWuerfel2.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPanel31.add(jNFWuerfel2);
|
||||
jNFPunkte2.setBounds(112, 32, 51, 20);
|
||||
jNFPunkte2.setText("");
|
||||
jNFPunkte2.setEditable(false);
|
||||
jNFPunkte2.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPanel31.add(jNFPunkte2);
|
||||
jLabel41.setBounds(8, 8, 88, 20);
|
||||
jLabel41.setText("aktueller Wurf:");
|
||||
jPanel31.add(jLabel41);
|
||||
jLabel51.setBounds(8, 32, 86, 20);
|
||||
jLabel51.setText("Punkte:");
|
||||
jPanel31.add(jLabel51);
|
||||
// Ende Komponenten
|
||||
|
||||
// Spieler ueber den Wuerfel informieren
|
||||
sp1.setWuerfel(w);
|
||||
sp2.setWuerfel(w);
|
||||
|
||||
setVisible(true);
|
||||
} // end of public SechserWuerfelnGUI
|
||||
|
||||
// Anfang Methoden
|
||||
/** Spieler 1 drueckt den Button Wuerfeln
|
||||
*/
|
||||
public void jBSpieler1Wuerfeln_ActionPerformed(ActionEvent evt) {
|
||||
// wuerfeln
|
||||
sp1.wuerfeln();
|
||||
|
||||
// Anzeigen aktualisieren
|
||||
jNFPunkte1.setInt(sp1.getSumme());
|
||||
jNFWuerfel1.setInt(w.getWurf());
|
||||
wuerfelPanel1.repaint();
|
||||
|
||||
// Bei einer 6 muss der Spieler aufhueren und Spieler 2 ist dran
|
||||
if (w.getWurf() == 6) {
|
||||
jBSpieler1Beenden_ActionPerformed(evt);
|
||||
} // end of if
|
||||
|
||||
} // end of jBSpieler1Wuerfeln_ActionPerformed
|
||||
|
||||
/** Spieler 1 drueckt Button Beenden
|
||||
*/
|
||||
public void jBSpieler1Beenden_ActionPerformed(ActionEvent evt) {
|
||||
// Punkte sichern
|
||||
sp1.aufhoeren();
|
||||
|
||||
// Anzeigen aktualisieren
|
||||
jNFGesamtpunkte1.setInt(sp1.getGesamtsumme());
|
||||
|
||||
// Buttons aktivieren/deaktivieren
|
||||
jBSpieler1Wuerfeln.setEnabled(false);
|
||||
jBSpieler1Beenden.setEnabled(false);
|
||||
jBSpieler2Wuerfeln.setEnabled(true);
|
||||
jBSpieler2Beenden.setEnabled(true);
|
||||
} // end of jBSpieler1Beenden_ActionPerformed
|
||||
|
||||
/** Spieler 2 drueckt den Button Wuerfeln
|
||||
*/
|
||||
public void jBSpieler2Wuerfeln_ActionPerformed(ActionEvent evt) {
|
||||
// wuerfeln
|
||||
sp2.wuerfeln();
|
||||
|
||||
// Anzeigen aktualisieren
|
||||
jNFPunkte2.setInt(sp2.getSumme());
|
||||
jNFWuerfel2.setInt(w.getWurf());
|
||||
wuerfelPanel1.repaint();
|
||||
|
||||
// Bei einer 6 muss der Spieler aufhueren und Spieler 2 ist dran
|
||||
if (w.getWurf() == 6) {
|
||||
jBSpieler2Beenden_ActionPerformed(evt);
|
||||
} // end of if
|
||||
} // end of jBSpieler2Wuerfeln_ActionPerformed
|
||||
|
||||
/** Spieler 1 drueckt Button Beenden
|
||||
*/
|
||||
public void jBSpieler2Beenden_ActionPerformed(ActionEvent evt) {
|
||||
// Punkte sichern
|
||||
sp2.aufhoeren();
|
||||
|
||||
// Anzeigen aktualisieren
|
||||
jNFGesamtpunkte2.setInt(sp2.getGesamtsumme());
|
||||
|
||||
// Buttons aktivieren/deaktivieren
|
||||
jBSpieler2Wuerfeln.setEnabled(false);
|
||||
jBSpieler2Beenden.setEnabled(false);
|
||||
jBSpieler1Wuerfeln.setEnabled(true);
|
||||
jBSpieler1Beenden.setEnabled(true);
|
||||
} // end of jBSpieler2Beenden_ActionPerformed
|
||||
|
||||
// Ende Methoden
|
||||
|
||||
public static void main(String[] args) {
|
||||
new SechserWuerfelnGUI("SechserWuerfelnGUI");
|
||||
} // end of main
|
||||
|
||||
} // end of class SechserWuerfelnGUI
|
||||
|
|
@ -0,0 +1,645 @@
|
|||
object SechserWuerfelnGUI: TFGUIFormular
|
||||
Tag = 3
|
||||
Left = 676
|
||||
Top = 131
|
||||
BorderIcons = [biSystemMenu, biMinimize]
|
||||
Caption = 'SechserWuerfelnGUI'
|
||||
ClientHeight = 177
|
||||
ClientWidth = 530
|
||||
Color = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -10
|
||||
Font.Name = 'MS Sans Serif'
|
||||
Font.Style = []
|
||||
FormStyle = fsMDIChild
|
||||
OldCreateOrder = True
|
||||
Position = poDesigned
|
||||
Visible = True
|
||||
WindowState = wsMaximized
|
||||
OnClose = FormClose
|
||||
OnCloseQuery = FormCloseQuery
|
||||
OnResize = FormResize
|
||||
FrameType = 5
|
||||
Resizable = False
|
||||
Undecorated = False
|
||||
Background = clBtnFace
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 13
|
||||
object jPanel1: TJPanel
|
||||
Tag = 12
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 193
|
||||
Height = 161
|
||||
Foreground = 3355443
|
||||
Background = clSilver
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
object jLabel1: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 110
|
||||
Height = 20
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Spieler 1'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jNFGesamtpunkte1: TJNumberField
|
||||
Tag = 21
|
||||
Left = 120
|
||||
Top = 32
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = RIGHT
|
||||
Text = '0'
|
||||
Editable = False
|
||||
end
|
||||
object jPanel3: TJPanel
|
||||
Tag = 12
|
||||
Left = 8
|
||||
Top = 64
|
||||
Width = 177
|
||||
Height = 89
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = EtchedBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clSilver
|
||||
Border.EtchShadowColor = 4210752
|
||||
Border.Etchtype = 1
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
object jBSpieler1Wuerfeln: TJButton
|
||||
Tag = 4
|
||||
Left = 8
|
||||
Top = 56
|
||||
Width = 75
|
||||
Height = 25
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
actionPerformed = 'jBSpieler1Wuerfeln_ActionPerformed'
|
||||
Text = 'W'#252'rfeln'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jBSpieler1Beenden: TJButton
|
||||
Tag = 4
|
||||
Left = 88
|
||||
Top = 56
|
||||
Width = 75
|
||||
Height = 25
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
actionPerformed = 'jBSpieler1Beenden_ActionPerformed'
|
||||
Text = 'Sichern'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jLabel4: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 88
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'aktueller Wurf:'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jLabel5: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 32
|
||||
Width = 86
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Punkte:'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jNFWuerfel1: TJNumberField
|
||||
Tag = 21
|
||||
Left = 112
|
||||
Top = 8
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = CENTER
|
||||
Editable = False
|
||||
end
|
||||
object jNFPunkte1: TJNumberField
|
||||
Tag = 21
|
||||
Left = 112
|
||||
Top = 32
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = CENTER
|
||||
Editable = False
|
||||
end
|
||||
end
|
||||
object jLabel3: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 32
|
||||
Width = 94
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Gesamtpunkte'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
end
|
||||
object wuerfelPanel1: TJPanel
|
||||
Tag = 38
|
||||
Left = 216
|
||||
Top = 40
|
||||
Width = 97
|
||||
Height = 89
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jPanel11: TJPanel
|
||||
Tag = 12
|
||||
Left = 328
|
||||
Top = 8
|
||||
Width = 193
|
||||
Height = 161
|
||||
Foreground = 3355443
|
||||
Background = clSilver
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
object jLabel11: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 110
|
||||
Height = 20
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Spieler 2'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jNFGesamtpunkte2: TJNumberField
|
||||
Tag = 21
|
||||
Left = 120
|
||||
Top = 32
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = RIGHT
|
||||
Text = '0'
|
||||
Editable = False
|
||||
end
|
||||
object jPanel31: TJPanel
|
||||
Tag = 12
|
||||
Left = 8
|
||||
Top = 64
|
||||
Width = 177
|
||||
Height = 89
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Border.BorderType = EtchedBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clSilver
|
||||
Border.EtchShadowColor = 4210752
|
||||
Border.Etchtype = 1
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
object jBSpieler2Wuerfeln: TJButton
|
||||
Tag = 4
|
||||
Left = 8
|
||||
Top = 56
|
||||
Width = 75
|
||||
Height = 25
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Enabled = False
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'W'#252'rfeln'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jBSpieler2Beenden: TJButton
|
||||
Tag = 4
|
||||
Left = 88
|
||||
Top = 56
|
||||
Width = 75
|
||||
Height = 25
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = 15658734
|
||||
Enabled = False
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Sichern'
|
||||
Mnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
Selected = False
|
||||
BorderPainted = True
|
||||
FocusPainted = False
|
||||
ContentAreaFilled = True
|
||||
HorizontalAlignment = CENTER
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
RolloverEnabled = False
|
||||
Border.BorderType = NoBorder
|
||||
Border.LineColor = clBlack
|
||||
Border.LineThickness = 0
|
||||
Border.LineRounded = False
|
||||
Border.EtchHighlightColor = clBlack
|
||||
Border.EtchShadowColor = clBlack
|
||||
Border.Etchtype = 0
|
||||
Border.BevelHighlightColor = clBlack
|
||||
Border.BevelShadowColor = clBlack
|
||||
Border.Beveltype = 0
|
||||
Border.MatteColor = clBlack
|
||||
Border.MatteTop = 0
|
||||
Border.MatteLeft = 0
|
||||
Border.MatteBottom = 0
|
||||
Border.MatteRight = 0
|
||||
end
|
||||
object jNFWuerfel2: TJNumberField
|
||||
Tag = 21
|
||||
Left = 112
|
||||
Top = 8
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = CENTER
|
||||
Editable = False
|
||||
end
|
||||
object jNFPunkte2: TJNumberField
|
||||
Tag = 21
|
||||
Left = 112
|
||||
Top = 32
|
||||
Width = 51
|
||||
Height = 20
|
||||
Cursor = crIBeam
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clWhite
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = []
|
||||
HorizontalAlignment = CENTER
|
||||
Editable = False
|
||||
end
|
||||
object jLabel41: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 88
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'aktueller Wurf:'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
object jLabel51: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 32
|
||||
Width = 86
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Punkte:'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
end
|
||||
object jLabel31: TJLabel
|
||||
Tag = 1
|
||||
Left = 8
|
||||
Top = 32
|
||||
Width = 94
|
||||
Height = 20
|
||||
HelpKeyword = 'WuerfelPanel'
|
||||
Foreground = 3355443
|
||||
Background = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -12
|
||||
Font.Name = 'Dialog'
|
||||
Font.Style = [fsBold]
|
||||
Text = 'Gesamtpunkte'
|
||||
HorizontalAlignment = LEFT
|
||||
VerticalAlignment = CENTER
|
||||
HorizontalTextPosition = RIGHT
|
||||
VerticalTextPosition = CENTER
|
||||
IconTextGap = 4
|
||||
DisplayedMnemonic = 0
|
||||
DisplayedMnemonicIndex = 0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
/**
|
||||
* Verwaltet einen Spieler fuer das Spiel 6er-Wuerfeln. Der Spieler hat
|
||||
* jeweils die Wahl zu Wuerfeln oder Aufzuhueren und die Punkte zu sichern.
|
||||
* Wuerfelt er eine 6, verliert er die Punkte sofort. Dazu muss
|
||||
* dem Spieler ein Wuerfel-Objekt bekannt sein.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Spieler {
|
||||
|
||||
// Anfang Attribute
|
||||
// Summe der Augenzahlen des aktuelle Durchgangs
|
||||
private int summe = 0;
|
||||
// Gesamtsumme der Augenzahlen aller Durchguenge
|
||||
private int gesamtsumme = 0;
|
||||
// Wuerfel-Objekt, das zum Wuerfeln verwendet wird.
|
||||
private Wuerfel wuerfel = null;
|
||||
// Ende Attribute
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert die Summe der Augenzahlen des aktuellen Durchgangs.
|
||||
* @return Summe der Augenzahlen
|
||||
*/
|
||||
public int getSumme() {
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Liefert die Gesamtsumme aller Durchguenge. Dabei werden die Augenzahlen jedes
|
||||
* Durchgangs addiert, sobald die Methode Aufhueren aufgerufen wird.
|
||||
* @return Gesamtsumme aller Durchguenge.
|
||||
*/
|
||||
public int getGesamtsumme() {
|
||||
return gesamtsumme;
|
||||
}
|
||||
|
||||
/** Der Spieler wuerfelt 1x. Wirft er eine 6 verliert er die aktuell gesammelten
|
||||
* Augen, ansonsten wird die gewuerfelte Zahl hinzuaddiert.
|
||||
* @return Summe der Augenzahlen des aktuellen Durchgangs
|
||||
*/
|
||||
public int wuerfeln() {
|
||||
wuerfel.wuerfeln();
|
||||
if (wuerfel.getWurf()==6) {
|
||||
summe = 0;
|
||||
} else {
|
||||
summe = summe + wuerfel.getWurf();
|
||||
}// end of if
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Der Spieler beendet den aktuellen Durchgang. Alle in diesem Durchgang gesammelten
|
||||
* Punkte werden zur Gesamtsumme hinzuaddiert.
|
||||
*/
|
||||
public void aufhoeren() {
|
||||
gesamtsumme = gesamtsumme + summe;
|
||||
summe = 0;
|
||||
}
|
||||
|
||||
/** Dem Spieler wird ein Wuerfel-Objekt uebergeben.
|
||||
* @param wuerfel Wuerfel, den der Spieler benutzen soll.
|
||||
*/
|
||||
public void setWuerfel(Wuerfel wuerfel) {
|
||||
this.wuerfel = wuerfel;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Spieler
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Die Klasse Wuerfel stellt die Fuehigkeiten eines Wuerfels bereit. Beim Wuerfeln werden
|
||||
* Zufallszahlen zwischen 1 und 6 erzeugt. Das Ergebnis des letzten Wurfs kann abgefragt
|
||||
* werden.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Wuerfel {
|
||||
|
||||
// Anfang Attribute
|
||||
// Speichert den aktuellen Wurf
|
||||
private int wurf;
|
||||
// Stellt ein Random-Objekt fuer die Erzeugung der Zufallszahlen bereit
|
||||
private Random zufallszahlen = new Random();
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt einen Wuerfeln.
|
||||
*/
|
||||
public Wuerfel() {;
|
||||
// Am Anfang sofort eine Zufallszahl erzeugen
|
||||
wuerfeln();
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert die Augenzahl des letzten Wuerfelwurfs.
|
||||
* @return Augenzahl
|
||||
*/
|
||||
public int getWurf() {
|
||||
return wurf;
|
||||
}
|
||||
|
||||
/** Der Wuerfel wird geworfen. Dazu wird eine neue Zufallszahl zwischen 1 und 6 erzeugt.
|
||||
*/
|
||||
public void wuerfeln() {
|
||||
wurf = zufallszahlen.nextInt(6)+1;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Wuerfel
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
import javax.swing.JPanel;
|
||||
import java.awt.*;
|
||||
|
||||
/** Dies ist ein spezielles Panel, das in der Lage ist, die oben liegende Augenzahl
|
||||
* eines Wuerfel-Objekt graphisch darzustellen.
|
||||
*/
|
||||
|
||||
public class WuerfelPanel extends JPanel {
|
||||
|
||||
// Anfang Attribute
|
||||
// Speichert die Bilder von Wuerfeln mit der Augenzahl 1-6 oben.
|
||||
private Image[] bilder = new Image[6];
|
||||
// Speichert das Wuerfel-Objekt, das im Panel visualisiert werden soll.
|
||||
private Wuerfel w;
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt ein Wuerfelpanel.
|
||||
* @param w Wuerfel-Objekt, das visualisiert werden soll.
|
||||
*/
|
||||
public WuerfelPanel(Wuerfel w) {
|
||||
this.w = w;
|
||||
// Laden der 6 Bilder wuerfel_1.gif - wuerfel_6.gif
|
||||
for (int i = 0; i <6 ; i++ ) {
|
||||
bilder[i] = Toolkit.getDefaultToolkit().getImage("wuerfel_"+(i+1)+".gif");
|
||||
} // end of for
|
||||
this.setBackground(Color.white);
|
||||
}
|
||||
|
||||
/** Zeichnet das Panel neu. Das richtige Bild zur Augenzahl des Wuerfels wird angezeigt. Diese
|
||||
* Methode wird automatisch von Java zum Zeichnen aufgerufen.
|
||||
* @param g ein Graphics-Objekt
|
||||
*/
|
||||
public void paint(Graphics g) {
|
||||
// super.paint ist notwendig, damit der Hintergrund richtig gezeichnet wird.
|
||||
super.paint(g);
|
||||
g.drawImage(bilder[w.getWurf()-1],15,15,Color.white,this);
|
||||
}
|
||||
|
||||
} // end of WuerfelPanel
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
Bilder von Würfel:
|
||||
eigenes Werk (Schaller, 2012)
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
#BlueJ package file
|
||||
dependency1.from=SechserWuerfelnGUI
|
||||
dependency1.to=Wuerfel
|
||||
dependency1.type=UsesDependency
|
||||
dependency2.from=SechserWuerfelnGUI
|
||||
dependency2.to=Spieler
|
||||
dependency2.type=UsesDependency
|
||||
dependency3.from=SechserWuerfelnGUI
|
||||
dependency3.to=WuerfelPanel
|
||||
dependency3.type=UsesDependency
|
||||
dependency4.from=Spieler
|
||||
dependency4.to=Wuerfel
|
||||
dependency4.type=UsesDependency
|
||||
dependency5.from=WuerfelPanel
|
||||
dependency5.to=Wuerfel
|
||||
dependency5.type=UsesDependency
|
||||
editor.fx.0.height=0
|
||||
editor.fx.0.width=0
|
||||
editor.fx.0.x=0
|
||||
editor.fx.0.y=0
|
||||
objectbench.height=93
|
||||
objectbench.width=645
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.771689497716895
|
||||
package.editor.height=331
|
||||
package.editor.width=523
|
||||
package.editor.x=105
|
||||
package.editor.y=407
|
||||
package.frame.height=539
|
||||
package.frame.width=669
|
||||
package.numDependencies=5
|
||||
package.numTargets=6
|
||||
package.showExtends=true
|
||||
package.showUses=true
|
||||
project.charset=UTF-8
|
||||
readme.height=60
|
||||
readme.name=@README
|
||||
readme.width=49
|
||||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=70
|
||||
target1.name=SechserWuerfelnGUI
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=160
|
||||
target1.x=220
|
||||
target1.y=70
|
||||
target2.height=70
|
||||
target2.name=WuerfelPanel
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=120
|
||||
target2.x=10
|
||||
target2.y=170
|
||||
target3.height=70
|
||||
target3.name=Spieler
|
||||
target3.showInterface=false
|
||||
target3.type=ClassTarget
|
||||
target3.width=120
|
||||
target3.x=350
|
||||
target3.y=180
|
||||
target4.height=70
|
||||
target4.name=Wuerfel
|
||||
target4.showInterface=false
|
||||
target4.type=ClassTarget
|
||||
target4.width=120
|
||||
target4.x=160
|
||||
target4.y=230
|
||||
target5.height=70
|
||||
target5.name=bildquellen.txt
|
||||
target5.type=TextTarget
|
||||
target5.width=120
|
||||
target5.x=80
|
||||
target5.y=10
|
||||
target6.height=70
|
||||
target6.name=JNumberField
|
||||
target6.showInterface=false
|
||||
target6.type=ClassTarget
|
||||
target6.width=120
|
||||
target6.x=10
|
||||
target6.y=90
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
11
Software/alg_gr_6er_wuerfeln/readme.adoc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
= Material :
|
||||
|
||||
|===
|
||||
|Zuordnung|
|
||||
|Klassenstufe|
|
||||
|Bildungsplanbezug |
|
||||
|Werkzeug|
|
||||
|Autoren|
|
||||
|===
|
||||
|
||||
== Inhalt
|
||||