-
Notifications
You must be signed in to change notification settings - Fork 3
/
DemoActor.h
48 lines (33 loc) · 1.11 KB
/
DemoActor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef __DEMO_ACTOR_H__
#define __DEMO_ACTOR_H__
#include "entity.h"
// refs
class ENGINE_API CCameraBase;
class ENGINE_API CSoundStream;
class CDummyObject;
class CObjectAnimator;
class CDemoActor: public CEntity
{
private:
typedef CEntity inherited;
private:
CObjectAnimator* animator;
Fvector start_position;
CSoundStream* music;
char* attached;
CCameraBase* camera;
void UpdateCamera ( );
float time2start,time2start_ltx;
public:
CDemoActor ();
virtual ~CDemoActor ();
virtual void Load (LPCSTR section);
void PlayDemo (const char* name);
void StopDemo ();
// Update
virtual void shedule_Update ( u32 DT );
// virtual
virtual void HitSignal (int ,Fvector& ,CEntity* , s16 ) {};
virtual void g_fireParams (const CHudItem* pHudItem, Fvector& P, Fvector& D);
};
#endif //__DEMO_ACTOR_H__