Design Patterns
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
bombed_maze_game.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_FACTORYMETHOD_BOMBED_MAZE_GAME_H_
7 #define CREATIONAL_FACTORYMETHOD_BOMBED_MAZE_GAME_H_
8 
9 #include "../mazegame/maze_game.h"
10 
11 namespace creational
12 {
13 namespace factorymethod
14 {
15 class BombedMazeGame : public MazeGame
16 {
17  public:
19 
20  virtual commons::Wall *MakeWall() const override;
21  virtual commons::Room *MakeRoom(const int& room_number) const override;
22 };
23 }
24 }
25 
26 #endif
27 
BombedMazeGame()
Definition: bombed_maze_game.cc:15
Definition: bombed_maze_factory.cc:11
virtual commons::Room * MakeRoom(const int &room_number) const override
Definition: bombed_maze_game.cc:22
Definition: room.h:16
Definition: bombed_maze_game.h:15
virtual commons::Wall * MakeWall() const override
Definition: bombed_maze_game.cc:17
Definition: maze_game.h:14
Definition: wall.h:15