|
Design Patterns
|
#include <room_with_a_bomb.h>
Public Member Functions | |
| RoomWithABomb (const RoomWithABomb &) | |
| RoomWithABomb (const int &room_number, const bool &has_bomb) | |
| virtual RoomWithABomb * | Clone () const override |
| bool | has_bomb () const |
| void | Initialize (const bool &bombed) |
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::RoomWithABomb::RoomWithABomb | ( | const RoomWithABomb & | room | ) |
|
explicit |
|
overridevirtual |
| bool creational::commons::RoomWithABomb::has_bomb | ( | ) | const |
| void creational::commons::RoomWithABomb::Initialize | ( | const bool & | bombed | ) |