From f0343418f90f9d32fdbdb372e9a3b93278e6bb72 Mon Sep 17 00:00:00 2001 From: jkonert Date: Tue, 10 May 2022 10:49:49 +0200 Subject: [PATCH] fixed some JavaDoc mistakes --- GameProject/src/base/GameLoop.java | 4 ++-- GameProject/src/playground/Level2.java | 2 +- GameProject/src/playground/Level4.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GameProject/src/base/GameLoop.java b/GameProject/src/base/GameLoop.java index eb72c12..f98bd42 100644 --- a/GameProject/src/base/GameLoop.java +++ b/GameProject/src/base/GameLoop.java @@ -217,8 +217,8 @@ public class GameLoop { /** - * main to start the whole application. - * initializes the {@link #levels} ArrayList of Playground instances (levels) to be played with one level {@link SpaceInvadersLevel} in constructor of {@link #GameLoop}. + * main to start the whole application. It calls. {@link #runGame(String[])}. + * (levels are automatically added/loaded by constructor of {@link #GameLoop}). * * @param args Java default command line args, forwarded to {@link #runGame(String[])} * @throws IOException in case highscore.txt cannot be written. diff --git a/GameProject/src/playground/Level2.java b/GameProject/src/playground/Level2.java index e553575..be0a998 100644 --- a/GameProject/src/playground/Level2.java +++ b/GameProject/src/playground/Level2.java @@ -3,7 +3,7 @@ package playground; /** - * extends extends {@link SpaceInvadersLevel} with a different startup message. + * extends {@link SpaceInvadersLevel} with a different startup message. */ public class Level2 extends SpaceInvadersLevel { diff --git a/GameProject/src/playground/Level4.java b/GameProject/src/playground/Level4.java index cfb39b3..d2bac0b 100644 --- a/GameProject/src/playground/Level4.java +++ b/GameProject/src/playground/Level4.java @@ -10,7 +10,7 @@ import org.apache.logging.log4j.Logger; /** - * extends extends {@link SpaceInvadersLevel} + * extends {@link SpaceInvadersLevel} *