Fission FSN
Loading...
Searching...
No Matches
fsCActorPathComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCActorPathComponent.h
4*
5* Purpose: Wrap up in game character pathing
6*
7*********************************************************************/
8
9#ifndef fsCActorPathComponenthdr
10#define fsCActorPathComponenthdr
11
13
14class fsCResourceName;
15class fsCActorPath;
16
17
19{
20 friend class fsCComponentFactory;
21
22public:
23
24 static const fsCUniqueId mTypeId;
25
26 void pathInitialise(const fsCResourceName& pPathFile);
27
28 virtual ~fsCActorPathComponent();
29
30protected:
31
32 void updateDo(fsS32 pDeltaMs) override;
33
34 static fsIComponent* create(fsCEntity* pParent);
36
37private:
38
39 std::unique_ptr<fsCActorPath> mPath;
40};
41
42#endif
static const fsCUniqueId mTypeId
Definition fsCActorPathComponent.h:24
friend class fsCComponentFactory
Definition fsCActorPathComponent.h:20
fsCActorPathComponent(fsCEntity *pParent)
Definition fsCActorPathComponent.cpp:27
virtual ~fsCActorPathComponent()
Definition fsCActorPathComponent.cpp:33
void updateDo(fsS32 pDeltaMs) override
Definition fsCActorPathComponent.cpp:9
static fsIComponent * create(fsCEntity *pParent)
Definition fsCActorPathComponent.cpp:22
void pathInitialise(const fsCResourceName &pPathFile)
Definition fsCActorPathComponent.cpp:16
Definition fsCActorPath.h:24
Definition fsCEntity.h:39
Definition fsCResourceName.h:32
Definition fsCUniqueId.h:21
fsIActorMovementComponent(fsCEntity *pParent)
Definition fsIActorMovementComponent.cpp:31
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
int fsS32
Definition fsBaseTypes.h:20