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