Design Patterns
maze_builder_interface.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_BUILDER_MAZE_BUILDER_INTERFACE_H_
7 #define CREATIONAL_BUILDER_MAZE_BUILDER_INTERFACE_H_
8 
9 #include "../mazeparts/maze.h"
10 
11 namespace creational
12 {
13 namespace builder
14 {
16 {
17  public:
18  virtual ~MazeBuilderInterface() { }
19 
20  virtual void BuildMaze() = 0;
21  virtual void BuildRoom(const int& room_number) = 0;
22  virtual void BuildDoor(const int& rist_room_number, const int& second_room_number) = 0;
23 
24  virtual commons::Maze *GetMaze() = 0;
25 };
26 }
27 }
28 
29 #endif
30 
virtual commons::Maze * GetMaze()=0
Definition: maze_builder_interface.h:15
Definition: bombed_maze_factory.cc:11
virtual void BuildDoor(const int &rist_room_number, const int &second_room_number)=0
virtual void BuildRoom(const int &room_number)=0
Definition: maze.h:17
virtual ~MazeBuilderInterface()
Definition: maze_builder_interface.h:18