EntityType.h 378 B

123456789101112131415161718192021
  1. #pragma once
  2. #include <ReferenceCounter.h>
  3. #include <Reader.h>
  4. #include <Vec3.h>
  5. #include "ModelInfo.h"
  6. class Entity;
  7. class EntityType : public virtual Framework::ReferenceCounter
  8. {
  9. private:
  10. const int id;
  11. ModelInfo model;
  12. public:
  13. EntityType(int id, ModelInfo model);
  14. Entity* loadEntity(Framework::StreamReader* zReader) const;
  15. int getId() const;
  16. };