|
Design Patterns
|
#include <enchanted_room.h>
Public Member Functions | |
| EnchantedRoom (const EnchantedRoom &) | |
| EnchantedRoom (const int &room_number, const Spell &spell) | |
| EnchantedRoom * | Clone () const override |
| bool | HasSpell () const |
| void | Initialize (const Spell &spell) |
| Spell | PickUpSpell () const |
Public Member Functions inherited from creational::commons::Room | |
| Room (const int &room_number) | |
| Room (const Room &room) | |
| virtual void | Enter () override |
| virtual bool | entered () const |
| MapSiteInterface * | GetSide (const Direction &) const |
| int | room_number () const |
| void | SetSide (const Direction &, MapSiteInterface *) |
Public Member Functions inherited from creational::commons::MapSiteInterface | |
| virtual | ~MapSiteInterface () |
Additional Inherited Members | |
Protected Attributes inherited from creational::commons::Room | |
| int | room_number_ |
| creational::commons::EnchantedRoom::EnchantedRoom | ( | const EnchantedRoom & | room | ) |
|
explicit |
|
overridevirtual |
| bool creational::commons::EnchantedRoom::HasSpell | ( | ) | const |
| void creational::commons::EnchantedRoom::Initialize | ( | const Spell & | spell | ) |
| Spell creational::commons::EnchantedRoom::PickUpSpell | ( | ) | const |