mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-11 13:07:49 +01: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
77c106aa00
commit
26382bafbb
@ -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