Emergency 20 Dokumentation  4.2.0
WaterCannonComponent-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  mCannonEntityId(qsf::getUninitialized<uint64>()),
17  mFinalYaw(0),
18  mFinalPitch(0),
19  mIsCannonInFinalRotation(true),
20  mIsOnBoat(false)
21  {
22  // Nothing to do in here
23  }
24 
26  {
27  // Nothing to do in here
28  }
29 
31  {
32  return mCannonEntityId;
33  }
34 
35  inline void WaterCannonComponent::setIsOnBoat(bool isOnBoat)
36  {
37  mIsOnBoat = isOnBoat;
38  }
39 
40 
41 //[-------------------------------------------------------]
42 //[ Namespace ]
43 //[-------------------------------------------------------]
44 } // em5
Definition: ActionPriority.h:13
void setIsOnBoat(bool isOnBoat)
Definition: WaterCannonComponent-inl.h:35
uint64_t uint64
Definition: PlatformTypes.h:184
uint64 getCannonEntityId() const
Definition: WaterCannonComponent-inl.h:30
Definition: PickupPersonByParamedicAction.h:21
T getUninitialized()
Definition: GetUninitialized.h:38
virtual ~WaterCannonComponent()
Destructor.
Definition: WaterCannonComponent-inl.h:25
Prototype class.
Definition: Prototype.h:100
WaterCannonComponent(qsf::Prototype *prototype)
Constructor.
Definition: WaterCannonComponent-inl.h:14