Portal.h 264 B

12345678910111213141516171819
  1. #pragma once
  2. #include "Entity.h"
  3. #include <string>
  4. class Portal :
  5. public Entity
  6. {
  7. public:
  8. Portal(const std::string &fileName,
  9. const Vec3f &position,
  10. Vec3f &rotation,
  11. const float &scale);
  12. ~Portal();
  13. void collide();
  14. int maxCrystals;
  15. bool mayEnter;
  16. };