Emergency 20 Dokumentation  4.2.0
TutorialFactory.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
14 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
31  {
32 
33 
34  //[-------------------------------------------------------]
35  //[ Public methods ]
36  //[-------------------------------------------------------]
37  public:
43 
48  virtual ~TutorialFactory();
49 
50 
51  //[-------------------------------------------------------]
52  //[ Public virtual em5::FreeplayEventFactory methods ]
53  //[-------------------------------------------------------]
54  public:
55  virtual FreeplayEvent* tryTriggerEvent() override;
56 
57 
58  //[-------------------------------------------------------]
59  //[ Private methods ]
60  //[-------------------------------------------------------]
61  private:
66  bool checkConditions() const;
67 
68 
69  //[-------------------------------------------------------]
70  //[ CAMP reflection system ]
71  //[-------------------------------------------------------]
72  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
73 
74 
75  };
76 
77 
78 //[-------------------------------------------------------]
79 //[ Namespace ]
80 //[-------------------------------------------------------]
81 } // em5
82 
83 
84 //[-------------------------------------------------------]
85 //[ CAMP reflection system ]
86 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
EMERGENCY 5 tutorial event.
Definition: TutorialFactory.h:30
#define QSF_CAMP_RTTI()
Only adds the virtual method "campClassId()", nothing more.
Definition: CampClass.h:75
#define QSF_CAMP_TYPE_NONCOPYABLE(type)
See "CAMP_TYPE_NONCOPYABLE" for details.
Definition: CampClass.h:112
EMERGENCY 5 freeplay event factory base class.
Definition: FreeplayEventFactory.h:56
TutorialFactory()
Default constructor.
Abstract EMERGENCY 5 freeplay event base class.
Definition: FreeplayEvent.h:66
virtual ~TutorialFactory()
Destructor.
virtual FreeplayEvent * tryTriggerEvent() override