srimel / game_of_life

Conway's Game of Life
0 stars 0 forks source link

Refactor Application class #25

Closed srimel closed 1 year ago

srimel commented 1 year ago

Refactors the application class into more member functions. The switch case statement that controlled the menu logic was also refactored into an array of function points. This should make it easier for developers to add more menu options by just defining their own functions and inserting them into the function pointer array.