示例#1
0
 public void Init(int id, int score, string pseudo)
 {
     this.id      = id;
     this.isAlive = true;
     this.score   = score;
     this.pseudo  = pseudo != "" ? pseudo : "Player " + (id + 1).ToString();
     hudplayer.SetPlayer(this.pseudo, color, score.ToString());
 }