| Issue 2: | [Coding] Public or private with getter and setter | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I just liked to point something here: https://code.google.com/p/super-mario-project/source/browse/trunk/Super+Mario+Project/Super+Mario+Project/Collisionable.cpp?r=21 https://code.google.com/p/super-mario-project/source/browse/trunk/Super+Mario+Project/Super+Mario+Project/Collisionable.hpp?spec=svn21&r=21#36 I don't really know what are you plans, but you can replace the getters / setters by just putting the variables as public. Actually you setters are doing nothing special. If you have planned to complete the setters, it's fine |