private Player _save; // Sauvegarde de l'état du joueur #endregion Fields #region Constructors // Constructeurs ====================================================================================================== // Paramètres : n nom du joueur // p position du joueur public Player(string n, int p, int b) { name = n; score = 0; _lastCombo = new Combo(); _handSize = Game.DEFAULT_HAND_SIZE; _nbCards = _handSize; _effects = new List<Effect>(); _position = p; _browser = b; _save = null; }
public Combo(Combo other) { _code = other.code; _codeScore = other.score; _nbCards = other.nbCards; }