aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/dist/doc/examples/spacewar/Game.java2
-rw-r--r--docs/teaching/demos/spacewar/src/spacewar/Game.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/dist/doc/examples/spacewar/Game.java b/docs/dist/doc/examples/spacewar/Game.java
index da67d7bc3..54b1bf2ac 100644
--- a/docs/dist/doc/examples/spacewar/Game.java
+++ b/docs/dist/doc/examples/spacewar/Game.java
@@ -68,7 +68,7 @@ public class Game extends Thread {
* thread. You can instantiate multiple games at once. For the time being
* the only way to end the game is to exit from the Java VM.
*
- * @param isDemo Controls whether the game runs in demo mode or not. True
+ * @param mode Controls whether the game runs in demo mode or not. True
* means it is a demo, false means it runs in normal 2 player mode.
*/
public Game(String mode) {
diff --git a/docs/teaching/demos/spacewar/src/spacewar/Game.java b/docs/teaching/demos/spacewar/src/spacewar/Game.java
index da67d7bc3..54b1bf2ac 100644
--- a/docs/teaching/demos/spacewar/src/spacewar/Game.java
+++ b/docs/teaching/demos/spacewar/src/spacewar/Game.java
@@ -68,7 +68,7 @@ public class Game extends Thread {
* thread. You can instantiate multiple games at once. For the time being
* the only way to end the game is to exit from the Java VM.
*
- * @param isDemo Controls whether the game runs in demo mode or not. True
+ * @param mode Controls whether the game runs in demo mode or not. True
* means it is a demo, false means it runs in normal 2 player mode.
*/
public Game(String mode) {