News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

gui_komponente_t

Started by Max-Max, June 19, 2013, 05:52:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Max-Max

in gui_komponente_t, is there a reason to why koord groesse is declared public?
It has both a set and get method, but if groesse is public, they are of no use.

shouldn't groesse be protected? Or private if you want to force the use of set and get methods?
- My code doesn't have bugs. It develops random features...

prissi

This is historic, as some method did use it directly. It could be protected.

Max-Max

- My code doesn't have bugs. It develops random features...