Example #1
0
        private DamageNuggetData EnsureDammageNugget(int index)
        {
            var damageNuggets = GetDamageNuggets().ToList();

            while (damageNuggets.Count < index + 1)
            {
                var damageNugget = new DamageNuggetData();
                Nuggets.Add(damageNugget);
                damageNuggets.Add(damageNugget);
            }
            return(damageNuggets[index]);
        }
Example #2
0
 internal DamageNugget(Weapon weapon, DamageNuggetData data)
 {
     _weapon = weapon;
     _data   = data;
 }