Emergency 20 Dokumentation  4.2.0
SpawnPointComponent-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Namespace ]
6 //[-------------------------------------------------------]
7 namespace em5
8 {
9 
10 
11  //[-------------------------------------------------------]
12  //[ Public methods ]
13  //[-------------------------------------------------------]
15  qsf::Component(prototype)
16  {
17  // Nothing to do in here
18  }
19 
21  {
22  // Nothing to do in here
23  }
24 
25  inline const std::vector<std::string>& SpawnPointComponent::getList() const
26  {
27  return mList;
28  }
29 
30  inline void SpawnPointComponent::setList(const std::vector<std::string>& list)
31  {
32  mList = list;
33  }
34 
35 
36 //[-------------------------------------------------------]
37 //[ Namespace ]
38 //[-------------------------------------------------------]
39 } // em5
Definition: ActionPriority.h:13
virtual ~SpawnPointComponent()
Destructor.
Definition: SpawnPointComponent-inl.h:20
Definition: PickupPersonByParamedicAction.h:21
std::vector< std::string > mList
Array of spawnable entity names; exact meaning depends on sub-class implementation (e...
Definition: SpawnPointComponent.h:132
void setList(const std::vector< std::string > &list)
Definition: SpawnPointComponent-inl.h:30
SpawnPointComponent(qsf::Prototype *prototype)
Constructor.
Definition: SpawnPointComponent-inl.h:14
Prototype class.
Definition: Prototype.h:100
const std::vector< std::string > & getList() const
Definition: SpawnPointComponent-inl.h:25