Follower.h 391 B

12345678910111213141516171819202122
  1. #ifndef FOLLOWER_H
  2. #define FOLLOWER_H
  3. #include "../IACtrl.h"
  4. class Follower : public IACtrl
  5. {
  6. ///Méthodes
  7. public:
  8. Follower(Persos_Gest* persosGest, bool allie = false);
  9. virtual ~Follower();
  10. virtual void update();
  11. ///Attributs
  12. private:
  13. Uint16 m_focIDAllie;
  14. Uint16 m_focIDFoe;
  15. float m_vitesse; // €[0; 1]
  16. };
  17. #endif // FOLLOWER_H