public TowerInfo(TowerSettings settings) { allAuras = new Dictionary <Guid, AuraInfo>(); MainDescription = new MainTowerDescription(settings); ActualDescription = new ActualTowerDescription(settings); Bonus = new TowerBonus(MainDescription, ActualDescription); OwnAuras = settings.Auras; AddAuras(OwnAuras); }
protected TowerDescription(TowerSettings settings) { attackRateHolder = new AttackRateHolder(); damageHolder = new DamageHolder(); attackDistanceHolder = new AttackDistanceHolder(); critRateHolder = new CritRateHolder(); critMultiplierHolder = new CritMultiplierHolder(); AttackRate = settings.AttackRate; Damage = settings.Damage; AttackDistance = settings.AttackDistance; CritRate = settings.CritRate; CritMultiplier = settings.CritMultiplier; }