They are defined, mostly in SceneNode itself. Otherwise the code wouldn't link...
yeah it seems that it works with no pure virtuals but I use pure virtuals with "=0;" (in Scenenode) so it wasn't working for me ( I mean I can't use it as is )
I have a MouseArea class which is derived from SpriteNode.
I initialize it like this (in a class constructor) : mouseArea = MouseArea::Ptr (new MouseArea(mouseAreaTexture));
MouseArea has no constructor but SpriteNode has.
I have this error message:
no instance of constructor "MouseArea::MouseArea" matches the argument list
argument types are: (sf::Texture)
how do I use SpriteNode's constructor if it's possible to use it with a derived class as you said?
sorry i'am a newbie
edit:
And one question about this SceneNode system. So they are Scenenodes and they all have childrens we can only update and draw them ..
But what if I want to sent an information to a specific child ? For example I want to send mousePosition every frame to MouseArea but it's a child of my map.