public EditModel(ICharacterData characterData, ISubraceData subraceData, IAlignmentData alignmentData)
        {
            _characterData = characterData;
            _subraceData = subraceData;
            _alignmentData = alignmentData;

            Subraces = _subraceData.GetAllPlayable();
            Alignments = _alignmentData.GetAll();
        }
Esempio n. 2
0
 public CharacterController(ICharacterData characterData,
                            IRaceData raceData,
                            IAlignmentData alignmentData,
                            ISubraceData subraceData,
                            IClassData classData)
 {
     _characterData = characterData;
     _raceData      = raceData;
     _alignmentData = alignmentData;
     _subraceData   = subraceData;
     _classData     = classData;
 }