Ejemplo n.º 1
0
 public MeleeAttack(Transform actorPosition)
 {
     this.actorPosition = actorPosition;
     rangeAugment       = new MeleeRangeAugment();
     damageAugment      = new DamageAugment();
     cleaveAugment      = new MeleeCleaveAugment();
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 // Copy constructor
 public DamageAugment(DamageAugment toCopy)
 {
     this.damageMod = toCopy.damageMod;
 }