Emergency 20 Dokumentation  4.2.0
GangsterTypeManager.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 
16 
17 
18 //[-------------------------------------------------------]
19 //[ Namespace ]
20 //[-------------------------------------------------------]
21 namespace em5
22 {
23 
24 
25  //[-------------------------------------------------------]
26  //[ Classes ]
27  //[-------------------------------------------------------]
32  class EM5_API_EXPORT GangsterTypeManager : public qsf::ElementManager<uint32, GangsterType>
33  {
34 
35 
36  //[-------------------------------------------------------]
37  //[ Public methods ]
38  //[-------------------------------------------------------]
39  public:
45 
50  virtual ~GangsterTypeManager();
51 
56  void loadAssets();
57 
68  const GangsterType* getGangsterTypeById(const qsf::StringHash& id) const;
69 
70 
71  };
72 
73 
74 //[-------------------------------------------------------]
75 //[ Namespace ]
76 //[-------------------------------------------------------]
77 } // em5
Definition: ActionPriority.h:13
#define EM5_API_EXPORT
Definition: Export.h:28
Manager for gangster type definitions.
Definition: GangsterTypeManager.h:32
Element manager class template.
Definition: ElementManager.h:71
Gangster type definition class.
Definition: GangsterType.h:34
Compile time string hash class.
Definition: StringHash.h:59