rcpp_framework/core/nodes/node_tree.h

25 lines
344 B
C++

#ifndef NODE_TREE_H
#define NODE_TREE_H
#include "core/object.h"
class Node;
class NodeTree : public Object {
RCPP_OBJECT(NodeTree, Object);
public:
Node *get_root();
virtual void set_root(Node *root);
virtual void send_update(float delta);
NodeTree();
~NodeTree();
protected:
Node *_root_node;
float _update_interval;
};
#endif