mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 15:03:01 +02:00
fix: fixed compiling error, scene node now has a default constructor so it compiles with the entity.hpp
This commit is contained in:
parent
00fa8b926f
commit
1693bc6c4d
@ -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
BIN
SFMLEngine/makingAGameTick/app
Executable file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user