Emergency 20 Dokumentation  4.2.0
InjurePersonAreaComponent-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  {
16  // Nothing to do in here
17  }
18 
20  {
21  return mSimulationJobProxy.isValid();
22  }
23 
25  {
26  return mAffectedAreaRadius;
27  }
28 
29  inline const std::string& InjurePersonAreaComponent::getInjuriesToUse() const
30  {
31  return mInjuriesToUse;
32  }
33 
34 
35 //[-------------------------------------------------------]
36 //[ Namespace ]
37 //[-------------------------------------------------------]
38 } // em5
Definition: ActionPriority.h:13
const std::string & getInjuriesToUse() const
Get the used inbjuries as comma separated string.
Definition: InjurePersonAreaComponent-inl.h:29
float getAffectedAreaRadius() const
Get the affected area radius.
Definition: InjurePersonAreaComponent-inl.h:24
virtual ~InjurePersonAreaComponent()
Destructor.
Definition: InjurePersonAreaComponent-inl.h:14
bool getSimulationState() const
Return current state of the simulation.
Definition: InjurePersonAreaComponent-inl.h:19
bool isValid() const
Returns false if proxy is not registered or the job has become invalid.
Definition: JobProxy-inl.h:33