couch/core/Node.cpp

19 lines
301 B
C++
Raw Normal View History

2021-01-14 11:52:01 -06:00
#include "Node.h"
2021-01-21 15:26:39 -06:00
Name Node::GetType() const {return "Node";}
2021-01-14 11:52:01 -06:00
Node *Node::root = {new Node()};
Node *Node::GetRoot() {
return root;
}
bool Node::IsDrawable() const {
return false;
}
bool Node::IsTransformable() const {
return false;
}
void NodeList::Append(Node *node) {
push_back(node);
}