public void setUp()
        {
            MapperConfiguration mapperConfiguration = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new MappingProfile());
            });

            _mapper = mapperConfiguration.CreateMapper();

            _personalityAndBackgroundDomain = new PersonalityAndBackground();
            _personalityAndBackground       = new Models.FicheModel.PersonalityAndBackground
            {
                Age   = 0, Alignement = 5, Apparence = "", Background = "", Defauts = "", Historique = "", Ideaux = "",
                Liens = "", AllieEtOrganisation = "", TraitDePersonnalite = ""
            };
        }
Exemple #2
0
        public FicheDomain()
        {
            IdJoueur        = "";
            Equipement      = "";
            CapaciteEtTrait = "";
            Note            = "";
            Inspiration     = false;

            //Instanciation des liste (vide par défaut)
            Sorts       = new List <Sort>();
            Attaques    = new List <Attaque>();
            Competences = new List <Competence>();


            BasicInfo          = new BasicCharacterInfo();
            HpManager          = new HealthPointManager();
            SaveRolls          = new SaveRollManager();
            DeathRolls         = new DeathRollManager();
            Wallet             = new MoneyManager();
            BackgroundAndTrait = new PersonalityAndBackground();
            Masteries          = new CharacterMasteries();
            Caracteristics     = new CaracteristicsManager();
            Status             = new CharacterStatus();
        }