-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dragon.h
40 lines (30 loc) · 788 Bytes
/
Dragon.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
#ifndef DRAGON_H
#define DRAGON_H
#include <vector>
#include "Character.h"
class Dragon : public Character
{
public:
Dragon();
~Dragon();
bool Initialize(Terrain *terrain);
void Render();
void GetMessages( UINT msg, WPARAM wParam, LPARAM lParam, void * Data );
void Update( );
void Reset();
///Variables needed for independent
Character* m_KnightPointer;
std::vector<D3DXVECTOR3> mapLocations;
///Dragon State Functions
void IdleState();
void ChaseState();
void AttackState();
void FleeState();
void SetEnemy(Character* Enemy) { m_KnightPointer = Enemy; }
D3DXMATRIX getRearView();
D3DXMATRIX getSideView();
Camera thirdPersonCamera;
// Enum describing the current motivation of the dragon
//enum Mood { idle, chase, attack, flee } m_mood;
};
#endif