SDLPP: make copySelf actually copy everything

This commit is contained in:
2020-12-18 16:02:02 +01:00
parent 67a56d31de
commit 20c30712b9
9 changed files with 36 additions and 3 deletions
+1
View File
@@ -80,6 +80,7 @@ public:
std::shared_ptr< Renderer > getRenderer() const;
protected:
virtual void copyTo(std::shared_ptr<RenderObject> other);
std::vector< std::shared_ptr< CollisionPolygon > > collisions;
std::shared_ptr< Texture > texture;
std::shared_ptr< Renderer > renderer;