Space Sheep Xtreme Turbo Penguin Edition
TypeEnnemi.h
Aller à la documentation de ce fichier.
1 #ifndef TYPE_ENNEMI_H
2 #define TYPE_ENNEMI_H
3 
11 #include <string>
12 #include "TypeTir.h"
13 
20 {
25 };
26 
27 /* M-TRIPLE = S
28  /|\
29  / | \
30 */
31 
40 {
41  private :
42  std::string my_sprite_filename;
43  int my_score;
44  int my_speed;
45  float my_shootingSpeed; // cadence de tir, en secondes (tir 1 fois toutes les x secondes)
46  int my_hp;
47  int my_h;
48  int my_w;
49  TypeTir* my_typeTir;
50  ShootPattern my_shootPattern;
51 
52  public :
53 
57  TypeEnnemi();
58 
72  TypeEnnemi(int score, int speed, float shootingSpeed, int hp, int w, int h, TypeTir* typeTir, ShootPattern shootPattern, std::string filename);
73 
77  virtual ~TypeEnnemi();
78 
79  //Accesseurs
80 
81 
89  int getScore() const;
90 
98  int getSpeed() const;
99 
107  float getShootingSpeed() const;
108 
116  int getHP() const;
117 
125  int getW() const;
126 
134  int getH() const;
135 
143  std::string getFilename() const;
144 
152  TypeTir* getTypeTir() const;
153 
162 
163 
164 };
165 
166 #endif