Beispiel #1
0
 private CharacterCard(InvestigatorData investigatorData, Characteristics characteristics, ObservableCollection <Skill> skills, ObservableCollection <Weapon> weapons, InvestigatorHistory investigatorHistory, Belongings belongings, ObservableCollection <Relations> relations) : this(new SkillParser())
 {
     InvestigatorData    = investigatorData;
     Characteristics     = characteristics;
     Skills              = skills;
     Weapons             = weapons;
     InvestigatorHistory = investigatorHistory;
     Belongings          = belongings;
     Relations           = relations;
 }
Beispiel #2
0
 private CharacterCard(ISkillParser skillParser, InvestigatorData investigatorData, Characteristics characteristics, ObservableCollection <Skill> skills, ObservableCollection <Weapon> weapons, InvestigatorHistory investigatorHistory, Belongings belongings, ObservableCollection <Relations> relations) : this(skillParser)
 {
     InvestigatorData    = investigatorData;
     Characteristics     = characteristics;
     Skills              = skills;
     Weapons             = weapons;
     InvestigatorHistory = investigatorHistory;
     Belongings          = belongings;
     Relations           = relations;
     InitializeAsync().Wait();
 }
Beispiel #3
0
 public static CharacterCard Create(InvestigatorData investigatorData, Characteristics characteristics, ObservableCollection <Skill> skills, ObservableCollection <Weapon> weapons, InvestigatorHistory investigatorHistory, Belongings belongings, ObservableCollection <Relations> relations)
 {
     return(new CharacterCard(investigatorData,
                              characteristics,
                              skills,
                              weapons,
                              investigatorHistory,
                              belongings,
                              relations));
 }