CreedVI / Raylib-J

Handmade Java binding for Raylib
zlib License
97 stars 16 forks source link

Review ENUM usage #19

Closed CreedVI closed 3 years ago

CreedVI commented 3 years ago

I feel like most of the current usage of enums might be unnecessary and is just making the code more complex than it really needs to be. Major offenders would be RLGL and CameraData (Mostly RLGL though.)

Creating this issue as a reminder and idea board.

CreedVI commented 3 years ago

With commit 188b803 I changed the enums to inner classes with statically defined values. In my opinion this makes for much more readable code. Open to opinions. Closing issue