Space Sheep Xtreme Turbo Penguin Edition
Ennemi.h
Aller à la documentation de ce fichier.
1 #ifndef ENNEMI_H
2 #define ENNEMI_H
3 
11 #include <SFML/Window.hpp>
12 #include "Vaisseau.h"
13 #include "TypeEnnemi.h"
14 #include "Horloge.h"
15 
23 class Ennemi : public Vaisseau
24 {
25  private :
26  TypeEnnemi* my_type;
28  public :
29 
33  Ennemi();
34 
40  Ennemi(TypeEnnemi* type);
41 
45  virtual ~Ennemi();
46 
47 
55  int getScore() const;
56 
64  TypeEnnemi* getType() const;
65 
73  virtual ShootPattern getShootPattern() const;
74 
75 
81  void shoot(GameModel* model);
82 
89  std::vector<Tir*>::iterator isShot(GameModel* model) const;
90 
91 
95  void move();
96 };
97 
98 #endif