public BasicWeapon Clone()
        {
            BasicWeapon weapon = new BasicWeapon();

            weapon.copyFrom(this);
            return(weapon);
        }
 private void copyFrom(BasicWeapon other)
 {
     this.NumAugmentSlots  = other.NumAugmentSlots;
     this.BaseStats        = other.BaseStats;
     this.ProjectileBitmap = other.ProjectileBitmap;
     this.ExplosionBitmap  = other.ExplosionBitmap;
 }
Exemple #3
0
 public WeaponConfiguration(BasicWeapon basicWeapon, List <WeaponAugment> augments)
 {
     this.basicWeapon = basicWeapon;
     this.augments    = augments;
 }