mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
25 lines
344 B
C++
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 |