예제 #1
0
        public void setUp()
        {
            MapperConfiguration mapperConfiguration = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new MappingProfile());
            });

            _mapper = mapperConfiguration.CreateMapper();

            _saveRollManagerDomain = new SaveRollManager();
            _saveRollsManager      = new SaveRollsManager
            {
                JdsForce   = false, JdsDexterite = false, JdsConstitution = false, JdsIntelligence = false,
                JdsSagesse = false, JdsCharisme = false
            };
        }
예제 #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();
        }