Emergency 20 Dokumentation  4.2.0
ContaminationCloudComponent-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 mState;
22  }
23 
25  {
26  return mMinContaminationDelay;
27  }
28 
29  inline void ContaminationCloudComponent::setMinContaminationDelay(float contaminationDelay)
30  {
31  mMinContaminationDelay = contaminationDelay;
32  }
33 
35  {
36  return mMaxContaminationDelay;
37  }
38 
39  inline void ContaminationCloudComponent::setMaxContaminationDelay(float contaminationDelay)
40  {
41  mMaxContaminationDelay = contaminationDelay;
42  }
43 
45  {
46  return mContaminationRadius;
47  }
48 
49 
50 //[-------------------------------------------------------]
51 //[ Namespace ]
52 //[-------------------------------------------------------]
53 } // em5
Definition: ActionPriority.h:13
State
Definition: ContaminationCloudComponent.h:61
virtual ~ContaminationCloudComponent()
Destructor.
Definition: ContaminationCloudComponent-inl.h:14
float getMinContaminationDelay() const
Get the minimum contamination delay.
Definition: ContaminationCloudComponent-inl.h:24
void setMinContaminationDelay(float contaminationDelay)
Set the minimum contamination delay.
Definition: ContaminationCloudComponent-inl.h:29
float getContaminationRadius() const
Get the contamination radius.
Definition: ContaminationCloudComponent-inl.h:44
State getSimulationState() const
Return current state of the simulation.
Definition: ContaminationCloudComponent-inl.h:19
void setMaxContaminationDelay(float contaminationDelay)
Set the maximum contamination delay.
Definition: ContaminationCloudComponent-inl.h:39
float getMaxContaminationDelay() const
Get the maximum contamination delay.
Definition: ContaminationCloudComponent-inl.h:34