#include <WallFlyweight.hpp>
Inheritance diagram for WallFlyweight
Public Methods | |
WallFlyweight ( void ) | |
Default constructor. | |
WallFlyweight ( WallFlyweightCref ) | |
Copy constructor. | |
virtual | ~WallFlyweight ( void ) |
Virtual Destructor. | |
WallFlyweightRef | operator= ( WallFlyweightCref ) |
Assignment operator. | |
bool | operator== ( WallFlyweightCref ) const |
Equality operator. | |
virtual void | enter ( void ) |
Operation defined in MapSite. |
Because the high probability that rooms will have more walls than doors we can represent all walls with a single flyweight.