Design Patterns
creational::commons::DoorNeedingSpell Class Reference

#include <door_needing_spell.h>

Inheritance diagram for creational::commons::DoorNeedingSpell:
Collaboration diagram for creational::commons::DoorNeedingSpell:

Public Member Functions

 DoorNeedingSpell (const DoorNeedingSpell &)
 
 DoorNeedingSpell (const Room &first_room, const Room &second_room)
 
- Public Member Functions inherited from creational::commons::Door
 Door (const Door &)
 
 Door (const Room &first_room, const Room &second_room)
 
virtual DoorClone () const
 
virtual void Enter () override
 
void Initialize (const Room &first_room, const Room &second_room)
 
bool is_open () const
 
RoomOtherSideFrom (const Room &room) const
 
virtual bool entered () const
 
- Public Member Functions inherited from creational::commons::MapSiteInterface
virtual ~MapSiteInterface ()
 

Static Public Member Functions

static bool TrySpell (const Spell &)
 

Constructor & Destructor Documentation

creational::commons::DoorNeedingSpell::DoorNeedingSpell ( const DoorNeedingSpell door_needing_spell)
creational::commons::DoorNeedingSpell::DoorNeedingSpell ( const Room first_room,
const Room second_room 
)

Member Function Documentation

bool creational::commons::DoorNeedingSpell::TrySpell ( const Spell spell)
static

Here is the call graph for this function:


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