How to put DamageType in switch statement?
I have several DamageTypes. I want to do something special for Character depending on what DamageType have taken.
Now I use this code for solve my problem. But I don't want to use IF statements + casting!
Is there more elegant solution?
asked May 31 '15 at 05:54 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here