Design Patterns
twisty_turny_passage.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_MAZEPARTS_TWISTY_TURNY_PASSAGE_H_
7 #define CREATIONAL_MAZEPARTS_TWISTY_TURNY_PASSAGE_H_
8 
9 #include "room.h"
10 
11 namespace creational
12 {
13 namespace commons
14 {
15 class TwistyTurnyPassage : public Room
16 {
17  public:
19 
20  virtual void Enter() override;
21  virtual bool entered() const override;
22 
23  private:
24  bool entered_;
25 };
26 }
27 }
28 
29 #endif
30 
Definition: bombed_maze_factory.cc:11
virtual bool entered() const override
Definition: twisty_turny_passage.cc:19
virtual void Enter() override
Definition: twisty_turny_passage.cc:14
Definition: room.h:16
TwistyTurnyPassage()
Definition: twisty_turny_passage.cc:12
Definition: twisty_turny_passage.h:15