szd.DB
Class Player
java.lang.Object
szd.DB.Player
public class Player
- extends java.lang.Object
A játékban elért eredményeket tartalmazó adatbázis egy rekordját reprezentáló
osztály.
- Author:
- Hucker Dávid
|
Constructor Summary |
Player(int playerID,
java.lang.String playerName,
int beginnerGamesPlayed,
int normalGamesPlayed,
int hardGamesPlayed,
int professionalGamesPlayed,
int beginnerGamesWon,
int normalGamesWon,
int hardGamesWon,
int professionalGamesWon,
int twoPlayerGamesPlayed,
int twoPlayerGamesWon)
|
Player(java.lang.String playerName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
playerID
private int playerID
playerName
private java.lang.String playerName
beginnerGamesPlayed
private int beginnerGamesPlayed
normalGamesPlayed
private int normalGamesPlayed
hardGamesPlayed
private int hardGamesPlayed
professionalGamesPlayed
private int professionalGamesPlayed
beginnerGamesWon
private int beginnerGamesWon
normalGamesWon
private int normalGamesWon
hardGamesWon
private int hardGamesWon
professionalGamesWon
private int professionalGamesWon
twoPlayerGamesPlayed
private int twoPlayerGamesPlayed
twoPlayerGamesWon
private int twoPlayerGamesWon
Player
public Player(java.lang.String playerName)
- Parameters:
playerName -
Player
public Player(int playerID,
java.lang.String playerName,
int beginnerGamesPlayed,
int normalGamesPlayed,
int hardGamesPlayed,
int professionalGamesPlayed,
int beginnerGamesWon,
int normalGamesWon,
int hardGamesWon,
int professionalGamesWon,
int twoPlayerGamesPlayed,
int twoPlayerGamesWon)
getPlayerName
public java.lang.String getPlayerName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getPlayerID
public int getPlayerID()
getBeginnerGamesPlayed
public int getBeginnerGamesPlayed()
getNormalGamesPlayed
public int getNormalGamesPlayed()
getHardGamesPlayed
public int getHardGamesPlayed()
getProfessionalGamesPlayed
public int getProfessionalGamesPlayed()
getBeginnerGamesWon
public int getBeginnerGamesWon()
getNormalGamesWon
public int getNormalGamesWon()
getHardGamesWon
public int getHardGamesWon()
getProfessionalGamesWon
public int getProfessionalGamesWon()
getTwoPlayerGamesPlayed
public int getTwoPlayerGamesPlayed()
getTwoPlayerGamesWon
public int getTwoPlayerGamesWon()