diff --git a/attachable.h b/attachable.h index 7ebacba..f3c4dec 100644 --- a/attachable.h +++ b/attachable.h @@ -11,6 +11,7 @@ namespace vb01{ Attachable(std::string fullName){this->fullName = fullName;} Attachable(){} virtual void onAttached(Node *node){this->node = node;} + Node* getNode(){return node;} std::string getAttachableName(){return fullName;} protected: std::string fullName = "";