12345678910111213141516171819202122232425262728293031 |
- #pragma once
- #include <Text.h>
- #include "Entity.h"
- #include "StaticRegistry.h"
- class Player : public Entity
- {
- private:
- Framework::Text name;
- public:
- Player();
- ~Player();
- virtual bool tick( double time ) override;
- };
- class PlayerEntityType : public EntityType
- {
- REGISTRABLE( PlayerEntityType )
- protected:
- virtual void loadSuperEntity( Entity* zEntity, Framework::StreamReader* zReader ) const override;
- virtual Entity* createEntity() const override;
- public:
- PlayerEntityType();
- };
- REGISTER( PlayerEntityType, EntityType )
|