Crystal.h 397 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "Entity.h"
  3. #include <string>
  4. #include "CrystalPoint.h"
  5. class Crystal :
  6. public Entity
  7. {
  8. public:
  9. Crystal(const std::string &filled, const std::string &empty,
  10. const Vec3f &position, Vec3f &rotation, const float &scale);
  11. ~Crystal();
  12. float crystalRot;
  13. bool isFilled;
  14. void draw();
  15. void collide();
  16. private:
  17. int sound_id;
  18. Sound* music;
  19. Model* filled;
  20. Model* empty;
  21. };