示例#1
0
 public void Leave()
 {
     this.Game.Players.Remove(this);
     this.Game    = null;
     this.IsAlive = false;
 }
示例#2
0
 public Player(string name, GameInstance game)
 {
     this.Name     = name;
     Players[name] = this;
     this.Join(game);
 }