diff --git a/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java b/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java index 6f9df1f..1dc1f93 100644 --- a/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java +++ b/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java @@ -400,6 +400,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks the game genres that are available in the table + * + * @return Prints all the available game genres from the table. + */ public String checkGameGenres() { String result = ""; String query = "SELECT Game_Genre FROM Games"; @@ -443,6 +448,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the games genre is Action-Adventure + * + * @return Prints all the Action-Adventure games. + */ public String checkGameGenreActionAdventure() { String result = ""; String query = "SELECT Game_Name, Game_Genre FROM Games"; @@ -472,6 +482,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the games genre is RPG + * + * @return Prints all the RPG games. + */ public String checkGameGenreRPG() { String result = ""; String query = "SELECT Game_Name, Game_Genre FROM Games";