forked from littlebalup/ZeldaROTH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStatut.h
43 lines (34 loc) · 1.01 KB
/
Statut.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
/*
Zelda Return of the Hylian
Copyright (C) 2005-2008 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#ifndef __STATUT_H__
#define __STATUT_H__
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
class Jeu;
class Statut {
public :
Statut(Jeu* jeu);
~Statut();
void draw(SDL_Surface* gpScreen);
void setJauge(bool b);
void setValJauge(int i);
void setMaxJauge(int i);
private :
void drawBoss(SDL_Surface* gpScreen);
void drawVie(SDL_Surface* gpScreen);
void drawItems(SDL_Surface* gpScreen);
void drawMagie(SDL_Surface* gpScreen);
void drawNombre(SDL_Surface* gpScreen, int val, int max, int x, int y, int nb);
SDL_Surface* imageStatut;
SDL_Surface* imageChiffre;
SDL_Surface* imageInventaire;
Jeu* gpJeu;
bool jauge; // jauge activée
int valjauge;
int maxjauge;
int nivjauge; // hauteur
};
#endif // Statut.h