protected Gun(float weight, GunType typeOfGun, TypeOfBoost boostType, IAmmo ammoType) { this.typeOfGun = typeOfGun; Weight = weight; ammo = new Ammo(boostType, ammoType); LoadGunStats(); ApplyBulletMultipliers(ammo); }
private void ChangeSizeInternalArray(int i, int size) { gunType1[i] = new int[size]; shellsType1[i] = new int[size]; option[i] = new Options[size]; gunType[i] = new GunType[size]; boostType[i] = new TypeOfBoost[size]; //shellsType[i] = new TypeOfShells[size]; typeShield[i] = new TypeShield[size]; typeHpRegenerator[i] = new TypeHpRegenerator[size]; typeEngine[i] = new TypeEngine[size]; }