Create an Enum called ammotype, and add all the ammotypes you’ll need.
Then in your parent gun class create the ammotype enum, and set it in each of your child’s classes.
You should be able to do all the math you need with that.
Create an Enum called ammotype, and add all the ammotypes you’ll need.
Then in your parent gun class create the ammotype enum, and set it in each of your child’s classes.
You should be able to do all the math you need with that.