summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/java1/aufgabe7/Spiel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/fhswf/in/inf/java1/aufgabe7/Spiel.java')
-rw-r--r--src/de/fhswf/in/inf/java1/aufgabe7/Spiel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/fhswf/in/inf/java1/aufgabe7/Spiel.java b/src/de/fhswf/in/inf/java1/aufgabe7/Spiel.java
index 1954a8c..f33e031 100644
--- a/src/de/fhswf/in/inf/java1/aufgabe7/Spiel.java
+++ b/src/de/fhswf/in/inf/java1/aufgabe7/Spiel.java
@@ -39,7 +39,7 @@ public class Spiel
{
if (ersterTipp < 0 || ersterTipp > MAXHUET)
{
- throw new IllegalArgumentException("Tip liegt nicht im Bereich.");
+ throw new IllegalArgumentException("Tip outside of boundaries.");
}
int erg = -1;
if (ersterTipp != nussPlatz)
@@ -70,7 +70,7 @@ public class Spiel
* The player who plays.
* @return Boolean, if the player choose correct.
*/
- public boolean spielDurchlauf(Spieler spieler)
+ public final boolean spielDurchlauf(Spieler spieler)
{
if (spieler == null)
{