Emergency 20 Dokumentation  4.2.0
SpawnGroupComponent-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Includes ]
6 //[-------------------------------------------------------]
8 
9 
10 //[-------------------------------------------------------]
11 //[ Namespace ]
12 //[-------------------------------------------------------]
13 namespace em5
14 {
15 
16 
17  //[-------------------------------------------------------]
18  //[ Public methods ]
19  //[-------------------------------------------------------]
21  qsf::Component(prototype),
22  mSpawnGroup(qsf::getUninitialized<uint32>())
23  {
24  // Nothing here
25  }
26 
28  {
29  // Nothing here
30  }
31 
33  {
34  return mSpawnGroup;
35  }
36 
38  {
39  mSpawnGroup = group;
40  }
41 
43  {
44  return mSpawnTag;
45  }
46 
48  {
49  mSpawnTag = tag;
50  }
51 
52 
53 //[-------------------------------------------------------]
54 //[ Namespace ]
55 //[-------------------------------------------------------]
56 } // em5
Definition: ActionPriority.h:13
unsigned int uint32
Definition: PlatformTypes.h:181
virtual ~SpawnGroupComponent()
Destructor.
Definition: SpawnGroupComponent-inl.h:27
Definition: PickupPersonByParamedicAction.h:21
T getUninitialized()
Definition: GetUninitialized.h:38
void setSpawnTag(const qsf::NamedIdentifier &tag)
Definition: SpawnGroupComponent-inl.h:47
uint32 getSpawnGroup() const
Definition: SpawnGroupComponent-inl.h:32
Class combining strings with their hashes.
Definition: NamedIdentifier.h:34
Prototype class.
Definition: Prototype.h:100
void setSpawnGroup(uint32 group)
Definition: SpawnGroupComponent-inl.h:37
const qsf::NamedIdentifier & getSpawnTag() const
Definition: SpawnGroupComponent-inl.h:42
SpawnGroupComponent(qsf::Prototype *prototype)
Constructor.
Definition: SpawnGroupComponent-inl.h:20