Emergency 20 Dokumentation  4.2.0
ActorFactory.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  //[-------------------------------------------------------]
35  {
36 
37 
38  //[-------------------------------------------------------]
39  //[ Public methods ]
40  //[-------------------------------------------------------]
41  public:
42  ActorFactory();
43  ~ActorFactory();
44 
45  virtual qsf::ai::EActor* constructActor(qsf::Entity& entity) override;
46  virtual void destructActor(qsf::ai::EActor* actor) override;
47 
48 
49  //[-------------------------------------------------------]
50  //[ Private data ]
51  //[-------------------------------------------------------]
52  private:
53  struct Internal;
54  Internal& mInternal;
55 
56 
57  };
58 
59 
60 //[-------------------------------------------------------]
61 //[ Namespace ]
62 //[-------------------------------------------------------]
63 } // em5
Definition: ActionPriority.h:13
Entity class.
Definition: Entity.h:46
virtual qsf::ai::EActor * constructActor(qsf::Entity &entity) override
virtual void destructActor(qsf::ai::EActor *actor) override
Emergency 5 actor factory implementation.
Definition: ActorFactory.h:34
EActor wrapper class for a QSF entity.
Definition: EActor.h:141
Actor factory interface definition.
Definition: ActorFactory.h:43