playrho::d2::WorldAtty Class Reference

World attorney. More...

#include <WorldAtty.hpp>

Friends

class Body
 
class Fixture
 

Detailed Description

World attorney.

This is the "world attorney" which provides limited privileged access to the World class for the Body and Fixture classes.

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

Definition at line 43 of file WorldAtty.hpp.

Friends And Related Function Documentation

◆ Body

friend class Body
friend

Definition at line 113 of file WorldAtty.hpp.

◆ Fixture

friend class Fixture
friend

Definition at line 114 of file WorldAtty.hpp.


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