From 4ab6968f8744f49a64022d1d6a2f209519283f8a Mon Sep 17 00:00:00 2001 From: devZoGok Date: Sat, 2 Apr 2022 13:39:27 +0300 Subject: [PATCH] added missing function --- attachable.h | 1 + 1 file changed, 1 insertion(+) 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 = "";