public TPlayers() { _nPlayers = DefaultNumPlayers; _Items = new TPlayer[_nPlayers]; for (int i = 0; i < _nPlayers; i++) { _Items[i] = new TPlayer("Player " + (i + 1).ToString()); } }
public TPlayers(int n) { _nPlayers = n; _Items = new TPlayer[_nPlayers]; for (int i = 0; i < _nPlayers; i++) _Items[i] = new TPlayer("Player " + (i + 1).ToString()); }