Design Patterns
bombed_maze_factory.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef CREATIONAL_ABSTRACTFACTORY_BOMBED_MAZE_FACTORY_H_
7 #define CREATIONAL_ABSTRACTFACTORY_BOMBED_MAZE_FACTORY_H_
8 
9 #include "maze_factory.h"
10 
11 namespace creational
12 {
13 namespace abstractfactory
14 {
16 {
17  public:
18  virtual commons::Maze *MakeMaze() const override;
19  virtual commons::Wall *MakeWall() const override;
20  virtual commons::Room *MakeRoom(const int& room_number) const override;
21  virtual commons::Door *MakeDoor(const commons::Room& first_room, const commons::Room& second_room) const override;
22 };
23 }
24 }
25 
26 #endif
27 
virtual commons::Wall * MakeWall() const override
Definition: bombed_maze_factory.cc:20
Definition: bombed_maze_factory.cc:11
virtual commons::Room * MakeRoom(const int &room_number) const override
Definition: bombed_maze_factory.cc:25
Definition: room.h:16
virtual commons::Maze * MakeMaze() const override
Definition: bombed_maze_factory.cc:15
virtual commons::Door * MakeDoor(const commons::Room &first_room, const commons::Room &second_room) const override
Definition: bombed_maze_factory.cc:30
Definition: wall.h:15
Definition: maze_factory_interface.h:17
Definition: bombed_maze_factory.h:15
Definition: door.h:16
Definition: maze.h:17