fix: fixed compiling error, scene node now has a default constructor so it compiles with the entity.hpp

This commit is contained in:
PolishPigeon 2022-01-24 08:38:14 +01:00
parent 00fa8b926f
commit 1693bc6c4d
3 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class SceneNode : public sf::Transformable, public sf::Drawable, private sf::Non
public:
typedef std::unique_ptr<SceneNode> ScenePointer; // element types must be complete types and we do not want to manage memory ourselves so we use std::unique_ptr
public:
SceneNode();
//SceneNode();
void attachChild(ScenePointer child);
ScenePointer detachChild(const SceneNode& node);
private:

BIN
SFMLEngine/makingAGameTick/app Executable file

Binary file not shown.

Binary file not shown.