From 7b30007fcd4dd62c38d151ec51f5ea9681bf9769 Mon Sep 17 00:00:00 2001 From: Adem Berber Date: Tue, 15 Feb 2022 04:13:42 +0100 Subject: [PATCH] Added Javadoc to PEGI Category Methods --- .../java/de/hs_fulda/ciip/projjpn/Games.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) 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 e80aba5..9e8a0dd 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 @@ -1648,6 +1648,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is PEGI 3. + * + * @return Prints all the PEGI 3 games. + */ public String checkPegiThree() { String result = ""; String query = "SELECT Game_Name, Game_PEGI_Rating FROM Games"; @@ -1677,6 +1682,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is PEGI 7. + * + * @return Prints all the PEGI 7 games. + */ public String checkPegiSeven() { String result = ""; String query = "SELECT Game_Name, Game_PEGI_Rating FROM Games"; @@ -1706,6 +1716,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is PEGI 12. + * + * @return Prints all the PEGI 12 games. + */ public String checkPegiTwelve() { String result = ""; String query = "SELECT Game_Name, Game_PEGI_Rating FROM Games"; @@ -1735,6 +1750,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is PEGI 16. + * + * @return Prints all the PEGI 16 games. + */ public String checkPegiSixteen() { String result = ""; String query = "SELECT Game_Name, Game_PEGI_Rating FROM Games"; @@ -1764,6 +1784,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is PEGI 18. + * + * @return Prints all the PEGI 18 games. + */ public String checkPegiEighteen() { String result = ""; String query = "SELECT Game_Name, Game_PEGI_Rating FROM Games";