jakubg1 / OpenSMCE

Game engine which allows creating a broad range of marble popper games.
MIT License
14 stars 11 forks source link

Remove access to variables outside the class scope #69

Open jakubg1 opened 2 years ago

jakubg1 commented 2 years ago

It's a good programming practice to write setters and getters and keep any class-related properties private for any OOP-related project. Unfortunately, this is not case in this project, and there are hundreds of cases where members of a class are accessed outside from that class.

Performing this hard task will however give reward in the form of much more cleaner code.