Entity.h 327 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <ReferenceCounter.h>
  3. #include <Vec3.h>
  4. #include "Effect.h"
  5. #include "Inventory.h"
  6. class EntityType;
  7. class Entity : public Inventory
  8. {
  9. private:
  10. float maxHP;
  11. float currentHP;
  12. Framework::Vec3<float> position;
  13. EntityType *zEntityType;
  14. public:
  15. friend Effect;
  16. friend EntityType;
  17. };