Enemy.h 335 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "Entity.h"
  3. #include <string>
  4. #include "Vector.h"
  5. class Enemy : public Entity
  6. {
  7. public:
  8. Enemy(const std::string &fileName,const Vec3f &position,Vec3f &rotation,const float &scale,const bool &hasCollision);
  9. ~Enemy();
  10. bool hasTarget;
  11. Vec3f target;
  12. float speed,radius;
  13. void update(float);
  14. void draw();
  15. };