Exemplo n.º 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;
 }
Exemplo n.º 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();
 }
Exemplo n.º 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));
 }