Emergency 20 Dokumentation  4.2.0
EActorBase.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
14 
15 
16 //[-------------------------------------------------------]
17 //[ Forward declarations ]
18 //[-------------------------------------------------------]
19 namespace qsf
20 {
21  class Entity;
22 }
23 
24 
25 //[-------------------------------------------------------]
26 //[ Namespace ]
27 //[-------------------------------------------------------]
28 namespace em5
29 {
30 
31 
32  //[-------------------------------------------------------]
33  //[ Classes ]
34  //[-------------------------------------------------------]
39  class EActorBase
40  {
41 
42 
43  //[-------------------------------------------------------]
44  //[ Protected methods ]
45  //[-------------------------------------------------------]
46  protected:
47  EActorBase(qsf::Entity& entity);
48  virtual ~EActorBase();
49 
51  qsf::ai::ETerrain* GetTerrain(int index);
52 
53  int initOwnerPlayer();
54 
55  bool IsWalkable();
56 
57 
58  //[-------------------------------------------------------]
59  //[ Protected data ]
60  //[-------------------------------------------------------]
61  protected:
63 
64 
65  };
66 
67 
68 //[-------------------------------------------------------]
69 //[ Namespace ]
70 //[-------------------------------------------------------]
71 } // em5
Definition: ActionPriority.h:13
Entity class.
Definition: Entity.h:46
EActor wrapper base class.
Definition: EActorBase.h:39
qsf::Entity & mEntity
Definition: EActorBase.h:62
Definition: terrain.h:79
EActorBase(qsf::Entity &entity)
Definition: PickupPersonByParamedicAction.h:21
qsf::ai::ETerrain * GetTerrain()
virtual ~EActorBase()