added missing function

This commit is contained in:
devZoGok
2022-04-02 13:39:27 +03:00
parent ace24df081
commit 4ab6968f87
+1
View File
@@ -11,6 +11,7 @@ namespace vb01{
Attachable(std::string fullName){this->fullName = fullName;} Attachable(std::string fullName){this->fullName = fullName;}
Attachable(){} Attachable(){}
virtual void onAttached(Node *node){this->node = node;} virtual void onAttached(Node *node){this->node = node;}
Node* getNode(){return node;}
std::string getAttachableName(){return fullName;} std::string getAttachableName(){return fullName;}
protected: protected:
std::string fullName = ""; std::string fullName = "";