java.lang.Object
com.example.project.models.User
Represents a user in the application that can log in.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
get highscore.get password.get username.
-
Constructor Details
-
User
Constructor.- Parameters:
username
- username.password
- password.highscore
- highscore.
-
-
Method Details
-
getUsername
get username.- Returns:
- username.
-
getPassword
get password.- Returns:
- password.
-
getHighscore
public int getHighscore()get highscore.- Returns:
- returns highscore.
-