public Customer()
 {
     this.firstName = "";
     this.middleName = "";
     this.lastName = "";
     this.suffix = "";
     this.eMailAddr = "";
     this.userName = "";
     this.gender = 'x';
     this.phoneNum = "-1";
     this.customerAddress = null;
     this.customerPlayer = null;
 }
 public Dashboard(String uName)
 {
     Username = uName;
     loginClient = new DBClient();
     user = new Customer();
     player = new Player();
     user = this.loginClient.getCustomer(uName);
     player = this.loginClient.getPlayer(uName);
     InitializeComponent();
     this.usernameLbl.Text = user.getUserName();
     this.HealthLbl.Text = player.getVitality().ToString();
     this.DefenseLbl.Text = player.getDefense().ToString();
     this.SpeedLbl.Text = player.getSpeed().ToString();
     this.EXPLbl.Text = player.getExp().ToString();
     this.TotalPlayTimeLbl.Text = player.getPlaytime().ToString();
     this.ServerLbl.Text = player.getLastServer();
     this.TotalKillLbl.Text = player.getTotalKills().ToString();
     this.TotalDeathsLbl.Text = player.getTotalDeaths().ToString();
     this.WelcomeLbl.Text = String.Concat(this.WelcomeLbl.Text, user.getFullName() + '!');
 }
 public void setCustomerPlayer(Player inputPlayer)
 {
     this.customerPlayer = inputPlayer;
 }
 public Player getPlayer(String uName)
 {
     Player player = new Player();
     player.setTotalKills(this.getPlayerTotalKills(uName));
     player.setTotalDeaths(this.getPlayerTotalDeaths(uName));
     player.setTotalPlayTime(this.getPlayerTotalPlayTime(uName));
     player.setLastServerUsed(this.getPlayerLastServerUsed(uName));
     player.setAttack(this.getPlayerAttack(uName));
     player.setDefense(this.getPlayerDefense(uName));
     player.setSpeed(this.getPlayerSpeed(uName));
     player.setVitality(this.getPlayerVitality(uName));
     player.setExp(this.getPlayerEXP(uName));
     return player;
 }