/// <summary> /// Constructs a HeroSheet for the selected hero /// </summary> /// <param name="classPicked">String of the picked class</param> /// <param name="classSheet">Sprite sheet containing the cards for the selected class</param> /// <param name="archetype">String of the archetype</param> /// <param name="heroName">Name of the chosen hero</param> /// <param name="heroSheet">The name of the sprite image to use</param> /// <param name="spriteSheet">Spritesheet containing dice images</param> /// <param name="hp">Hit points of the selected hero</param> /// <param name="sta">Stamina of the selected hero</param> /// <param name="move">Movement of the selected hero</param> /// <param name="def">Defense value of the selected hero (3 = brown, 4 = gray, 5 = black)</param> /// <param name="wp">Willpower of the selected hero</param> /// <param name="str">Strength of the selected hero</param> /// <param name="know">Knowledge of the selected hero</param> /// <param name="aware">Awareness of the selected hero</param> /// <param name="heroAbil">Type of hero ability: status, surge, etc</param> /// <param name="heroFeat">Type of hero feat: activation, passive</param> /// <param name="X">The X location of the center of the hero sheet</param> /// <param name="Y">The Y location of the center of the hero sheet</param> public HeroSheet(string classPicked, string archetype, string heroName, int hp, int sta, int move, int def, int wp, int str, int know, int aware, string heroAbil, string heroFeat, int X, int Y) { this.archetype = archetype; LoadContent(heroName, X, Y); this.heroName = heroName; maxHitPoints = hp; maxStamina = sta; maxMovement = move; hitPoints = hp; stamina = sta; movement = move; defense = def; willPower = wp; strength = str; knowledge = know; awareness = aware; heroicAbility = heroAbil; heroicFeat = heroFeat; defenseDicePool.Add(new Dice(def)); pickedClass = new HeroClass(classPicked); int die2Color = pickedClass.CurrentWeapon.Dice2; }