mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
21 lines
356 B
C++
21 lines
356 B
C++
#ifndef ATTACHABLE_H
|
|
#define ATTACHABLE_H
|
|
|
|
#include <string>
|
|
|
|
namespace vb01{
|
|
class Node;
|
|
|
|
struct Attachable{
|
|
std::string fullName = "";
|
|
Node *node = nullptr;
|
|
|
|
Attachable(std::string fullName){this->fullName = fullName;}
|
|
Attachable(){}
|
|
virtual void onAttached(Node*){}
|
|
std::string getFullName(){return fullName;}
|
|
};
|
|
}
|
|
|
|
#endif
|