forked from littlebalup/Zelda3T
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPnj.h
53 lines (43 loc) · 1.03 KB
/
Pnj.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
45
46
47
48
49
50
51
52
53
/*
Zelda Oni Link Begins
Copyright (C) 2006-2008 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#ifndef __PNJ_H__
#define __PNJ_H__
#include "Personnage.h"
#include "ZoneRect.h"
class Jeu;
class Pnj : public Personnage {
public :
Pnj(Jeu* jeu, int type, int i, int j, int msg);
~Pnj();
void draw(SDL_Surface* gpScreen);
void moveX(int i);
void moveY(int i);
Pnj* getSuivant();
int getMessage();
void setMessage(int i);
void setTypeIA(int i);
void setImmo(bool b);
void revie();
int getId();
void setAnimmax(int m);
void setVie(int i);
bool isActif();
private :
void init();
void IA();
void bouge();
void suit();
bool parle();
Jeu* gpJeu;
int id;
int message;
int typePnj;
bool immo;
int typeIA;
int special1;
int special2;
};
#endif // Pnj.h