Make Entity class not extend from `enable_shared_from_this`

This commit is contained in:
SeanOMik 2020-07-05 00:33:29 -05:00
parent 5bedd85584
commit 5794fe6c2e
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ namespace simpleengine {
class Game; class Game;
class Event; class Event;
class Entity : std::enable_shared_from_this<Entity> { // @TODO Create a Destructible class that replaces Entity::Destroying, Entity::DestroyLater, and Entity::IsGettingDestroyed.
class Entity {
friend class Game; friend class Game;
friend class Event; friend class Event;
public: public: