Thread: Player ap bar
View Single Post
  #14  
Old 12-01-2009, 10:17 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Quote:
Originally Posted by fowlplay4 View Post
Why? set(varname) is valid GS2 but that doesn't make it the GS2 way to do things.
It's deprecated. changeimgvis() has not be declared obsolete. It can be useful to use the function when setting values only once and such, since it's less to type. Both are perfectly acceptable.

It's my personal belief that you shouldn't be able to access TShowImg (or any object) members anyway. They should all have methods for that. We're using an Object-Oriented language which completely gives the finger to encapsulation. Wtf Stefan?
Reply With Quote