public MeleeAttack(Transform actorPosition) { this.actorPosition = actorPosition; rangeAugment = new MeleeRangeAugment(); damageAugment = new DamageAugment(); cleaveAugment = new MeleeCleaveAugment(); }
public MeleeAttack(int damage, Transform actorPosition, MeleeRangeAugment rangeAugment, DamageAugment damageAugment, MeleeCleaveAugment cleaveAugment) { this.damage = damage; this.actorPosition = actorPosition; this.rangeAugment = new MeleeRangeAugment(rangeAugment); this.damageAugment = new DamageAugment(damageAugment); this.cleaveAugment = new MeleeCleaveAugment(cleaveAugment); }
// Copy constructor public DamageAugment(DamageAugment toCopy) { this.damageMod = toCopy.damageMod; }