the makeBird() function is good and all, but it can't be used simply if you want the main barrel(s) to have a different recoil. Because of this, I suggest to add an optional argument that will be the recoil multiplicator. It will be applied to every functional barrel of the front weaponry, for example if I do:
makeBird(Class.destroyer, 0.1) it will give you a bird with a destroyer barrel that will barely have recoil!
it will avoid needing a longer use of the function where the weaponry is defined directly as argument...
the
makeBird()
function is good and all, but it can't be used simply if you want the main barrel(s) to have a different recoil. Because of this, I suggest to add an optional argument that will be the recoil multiplicator. It will be applied to every functional barrel of the front weaponry, for example if I do:makeBird(Class.destroyer, 0.1)
it will give you a bird with a destroyer barrel that will barely have recoil! it will avoid needing a longer use of the function where the weaponry is defined directly as argument...