|
Couch
|
#include <Node.h>


Public Member Functions | |
| NodeList (bool isPrefabList) | |
| void | Append (Node *node) |
| void | Remove (Node *node) |
| int | Length () |
| bool | IsPrefabList () |
| void | FreeList () |
Friends | |
| class | Node |
A list of nodes, tagged as either a list of prefabs or a list of instanced nodes.
| void NodeList::Append | ( | Node * | node | ) |
Add a node to this list, will check if it is a prefab or an instance.
| node | The node to add |
| void NodeList::FreeList | ( | ) |
Recursively frees all nodes in the list
| bool NodeList::IsPrefabList | ( | ) |
Whether or not this is a list of prefabs
| int NodeList::Length | ( | ) |
Check how many children this node has
| void NodeList::Remove | ( | Node * | node | ) |
Remove a node from this list
| node | The node to remove |