Space Sheep Xtreme Turbo Penguin Edition
Interface.h
Aller à la documentation de ce fichier.
1 #ifndef INTERFACE_H
2 #define INTERFACE_H
3 
10 #include <SFML/Graphics.hpp>
11 #include <string>
12 
13 #include "GameModel.h"
14 #include "GraphicElement.h"
15 #include "constantes.h"
16 
23 class Interface
24 {
25  private:
26  //HUD
27  sf::String my_HUDsfStrings[6];
28 
29  sf::Image* my_revive_image;
30  GraphicElement my_revive_sprite_template;
31  int my_nbVies;
32 
33  sf::Shape my_rectPV;
34  sf::Shape my_rectPVFond;
35 
36  sf::Shape my_rectBossPV;
37 
38  sf::Font my_font;
39  public:
40 
44  Interface();
45 
49  ~Interface();
50 
51 
59  void drawHUD(sf::RenderWindow * _window);
60 
61 
68  void update(GameModel* model, string strings[]);
69 
75  void updateBossPV(Boss* boss);
76 
77 
78 };
79 
80 #endif