diff options
Diffstat (limited to 'Enemy.h')
-rw-r--r-- | Enemy.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,13 +15,13 @@ public: Enemy(); Enemy( std::shared_ptr<Vector2> position, - std::unique_ptr<Generator> generator, - std::unique_ptr<Behaviour> behaviour); + std::shared_ptr<Generator> generator, + std::shared_ptr<Behaviour> behaviour); void update(float dt); void draw(); private: float m_hold; std::shared_ptr<Vector2> m_position; - std::unique_ptr<Generator> m_generator; - std::unique_ptr<Behaviour> m_behaviour; + std::shared_ptr<Generator> m_generator; + std::shared_ptr<Behaviour> m_behaviour; }; |