예제 #1
0
파일: Player.cs 프로젝트: StainLesss/POO
 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);
 }
예제 #2
0
파일: Player.cs 프로젝트: StainLesss/POO
 public Player()
 {
     counterPlayer++;
     IdJoueur      = counterPlayer;
     Pseudo        = "?";
     UserFirstName = "?";
     UserLastName  = "?";
     UserFullName  = "?";
     spaceShip     = new ViperMKII();
     AllPlayer.Add(IdJoueur, this);
 }
예제 #3
0
파일: Player.cs 프로젝트: StainLesss/POO
 public Player(string pseudo, string firstName, string lastName)
 {
     this.pseudo       = pseudo;
     this.userFullName = FormatPlayerInformation(firstName) + " " + FormatPlayerInformation(lastName);
     ViperMKII spaceShip = new ViperMKII();
 }