Since I never used convention like this, I can't seem to understand what does this line mean? How can 3 objects be used in the same line with the dot(.) operator? Doesn't this mean ObjectA.ObjectB.ObjectC.variable? I have heard about chaining methods but not chaining objects.
posted 2 years ago
It means the GameObject class referred to by variable 'obj' has an instance field called 'bounds' which is an object type; 'bounds' has an instance field called 'lowerLeft' which is an object type and 'lowerLeft' has an instance field called 'x' which is probably a primitive type.