playrho::d2::ContactAtty Class Reference

Contact attorney. More...

#include <ContactAtty.hpp>

Friends

class World
 

Detailed Description

Contact attorney.

This is the "contact attorney" which provides limited privileged access to the Contact class for the World class.

Note
This class uses the "attorney-client" idiom to control the granularity of friend-based access to the Contact class. This is meant to help preserve and enforce the invariants of the Contact class.
See also
https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Friendship_and_the_Attorney-Client

Definition at line 43 of file ContactAtty.hpp.

Friends And Related Function Documentation

◆ World

friend class World
friend

Definition at line 119 of file ContactAtty.hpp.


The documentation for this class was generated from the following file: