Original Post
if i were to start on a game that had an assortment of weapons would it be a good programming practice to make individual header files for each weapon? for example, if i had different types of rifles, should i put them under a header file name weapRifles and in that header file define classes like class M4A1, class AK-47...and so on. or is it better to make an individual header file for each weapon like weapRifle_AK-47?
thanks in advance for replies.