I noticed that in this lecture he binded the grab event to a private class function, He did pass in the grabber component to the object using it by using the keyword ‘this’, but it still strikes me as odd that by possessing an address to a class, you can modify its private members. Maybe i just dont fully understand whats going, but any decent explanation to sum up how this is possible?
Come to think of it he did also pass in the address of the private function, so maybe is it that by a member being private, it merely hides its address from other objects trying to access it?