Player.h 378 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "Entity.h"
  3. #include "EntityType.h"
  4. class PlayerEntityType;
  5. class Player : public Entity
  6. {
  7. private:
  8. public:
  9. friend PlayerEntityType;
  10. };
  11. class PlayerEntityType : public EntityType
  12. {
  13. REGISTRABLE( PlayerEntityType )
  14. public:
  15. PlayerEntityType();
  16. Entity *createEntity( Game *zTarget ) override;
  17. };
  18. REGISTER( PlayerEntityType, EntityType )