Closed TedHoryczun closed 7 years ago
@TedHoryczun Would this work? There's no enum for the type you passed in?
The change from the integer to the constant variable has no functionality change. It improves the aesthetics of the switch statement. I tested the code and it works perfectly.
Changed the switch statement to better describe the cases instead of numbers.