gameClient\DB_Info - HilaShoshan/RobotsGame GitHub Wiki
A class responsible for data analysis from DataBase. Reads all required data, updates, and saves it.
Methods:
-
public static int getNumGames()
- returns the number of games the the user has played on the server
- (by id).
-
public static int getCurrLevel()
- returns the cuurent level of the user: depending on how many steps he has gone through so far.
-
public static int getBestScore(int level)
- returns the best score in a specific level from the list.
-
public static int getPos(int level)
- returns the position in class in specific level.
- (every games that students have played in the server - on the database).