Ejemplo n.º 1
0
 public Character()
 {
     CharactersInfo = new CharInfo();
     ActiveStats    = new ActStats();
     Spellbook      = new List <Spell>();
     FeatureList    = new List <Feature>();
     Inventory      = new InventoryData();
     SnPData        = new SkillsAndProficienciesData();
     SpellSlots     = new int[9];
     SpellMod       = 0;
     SpellSave      = 0;
 }
Ejemplo n.º 2
0
 public Character(CharInfo charactersInfo = null, ActStats activeStats = null, List <Spell> spellbook = null, List <Feature> featureList = null, InventoryData inventory = null, SkillsAndProficienciesData snPData = null, int[] spellSlots = null, int spellMod = 0, int spellSave = 0)
 {
     CharactersInfo = (charactersInfo != null) ? charactersInfo : new CharInfo();
     ActiveStats    = (activeStats != null) ? activeStats : new ActStats();
     Spellbook      = (spellbook != null) ? spellbook : new List <Spell>();
     FeatureList    = (featureList != null) ? featureList : new List <Feature>();
     Inventory      = (inventory != null) ? inventory : new InventoryData();
     SnPData        = (snPData != null) ? snPData : new SkillsAndProficienciesData();
     SpellSlots     = (spellSlots != null) ? spellSlots : new int[9];
     SpellMod       = spellMod;
     SpellSave      = spellSave;
 }