Exemple #1
0
 public Player(string pseudo, string firstName, string lastName)
 {
     counterPlayer++;
     IdJoueur      = counterPlayer;
     Pseudo        = pseudo;
     UserFirstName = firstName;
     UserLastName  = lastName;
     UserFullName  = FormatPlayerInformation(firstName) + " " + FormatPlayerInformation(lastName);
     spaceShip     = new ViperMKII();
     AllPlayer.Add(IdJoueur, this);
 }
Exemple #2
0
 public Player()
 {
     counterPlayer++;
     IdJoueur      = counterPlayer;
     Pseudo        = "?";
     UserFirstName = "?";
     UserLastName  = "?";
     UserFullName  = "?";
     spaceShip     = new ViperMKII();
     AllPlayer.Add(IdJoueur, this);
 }
Exemple #3
0
 public Player(string pseudo, string firstName, string lastName)
 {
     this.pseudo       = pseudo;
     this.userFullName = FormatPlayerInformation(firstName) + " " + FormatPlayerInformation(lastName);
     ViperMKII spaceShip = new ViperMKII();
 }