SDLPP: make copySelf actually copy everything
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "sdlpp_common.hpp"
|
||||
#include "sdlpp_renderobject.hpp"
|
||||
#include "sdlpp_rectcolider.hpp"
|
||||
#include "sdlpp_circlecolider.hpp"
|
||||
|
||||
namespace SDLPP {
|
||||
class SDLPPSCOPE RectangleRender : public RenderObject {
|
||||
@@ -45,6 +46,7 @@ public:
|
||||
std::string getColor() const;
|
||||
|
||||
protected:
|
||||
virtual void copyTo(std::shared_ptr<RenderObject> other) override;
|
||||
void updateXY();
|
||||
double og_x;
|
||||
double og_y;
|
||||
|
||||
Reference in New Issue
Block a user