/// <summary> /// Constructeur (override) /// </summary> /// <param name="myconf">Configuration de fight</param> /// <param name="myspells">Liste des sorts</param> /// <param name="account">Compte associé</param> public BFightv2(FightConfig myconf, List <BSpell> myspells, AccountUC account) { Account = account; Conf = myconf; Spells = myspells; winLoseDic = new Dictionary <string, int>(); winLoseDic.Add("Gagné", 0); winLoseDic.Add("Perdu", 0); xpWon = new Dictionary <DateTime, int>(); xpWon.Add(DateTime.Today, 0); }
/// <summary> /// Constructeur (override) /// </summary> /// <param name="myconf">Configuration de fight</param> /// <param name="myspells">Liste des sorts</param> /// <param name="account">Compte associé</param> public BFightv2(FightConfig myconf, List<BSpell> myspells, AccountUC account) { Account = account; Conf = myconf; Spells = myspells; winLoseDic = new Dictionary<string, int>(); winLoseDic.Add("Gagné", 0); winLoseDic.Add("Perdu", 0); xpWon = new Dictionary<DateTime, int>(); xpWon.Add(DateTime.Today, 0); }