My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: [Coding] Public or private with getter and setter
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by lw.demos...@googlemail.com, Apr 29, 2011
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

Powered by Google Project Hosting