示例#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();
 }