| 1234567891011121314151617181920212223 |
- #pragma once
- #include "Entity.h"
- #include <string>
- #include "CrystalPoint.h"
- class Crystal :
- public Entity
- {
- public:
- Crystal(const std::string &filled, const std::string &empty,
- const Vec3f &position, Vec3f &rotation, const float &scale);
- ~Crystal();
- float crystalRot;
- bool isFilled;
- void draw();
- void collide();
- private:
- int sound_id;
- Sound* music;
- Model* filled;
- Model* empty;
- };
|