#include <Door.h>
Inherits MapSite.
Public Member Functions | |
Door (class Room *=0, class Room *=0) | |
virtual | ~Door () |
virtual void | Enter () |
class Room * | OtherSideFrom (class Room *) |
virtual void | Print (int indent=0) |
Private Attributes | |
class Room * | _room1 |
class Room * | _room2 |
bool | _isOpen |
Definition at line 12 of file Door.h.
Definition at line 6 of file Door.cpp.
References _room1, and _room2.
Referenced by MazeFactory::MakeDoor().
void Door::Enter | ( | ) | [virtual] |
void Door::Print | ( | int | indent = 0 |
) | [virtual] |
Reimplemented from MapSite.
Definition at line 30 of file Door.cpp.
References _isOpen, _room1, _room2, Room::GetRoomNo(), and PrintIndent().
bool Door::_isOpen [private] |
class Room* Door::_room1 [private] |
class Room* Door::_room2 [private] |