I'm not sure how to call this. Basically I want to make a class with nested members.
Example:
ball->location->x;
or
ball->path->getPath();
right now I only know how to make public and private members such as
ball->x;
ball->findPath();
Thanks