Пример #1
0
        public BasicWeapon Clone()
        {
            BasicWeapon weapon = new BasicWeapon();

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