Browse Source

Added Javadoc to PEGI Category Methods

dev
Adem Berber 2 years ago
parent
commit
7b30007fcd
  1. 25
      projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java

25
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";

Loading…
Cancel
Save