NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
f_tree_nd.hpp
1#pragma once
2#include <types.h>
3#include <game/cLib/c_tree.hpp>
5
6class fBase_c;
7
12class fTrNdBa_c : public cTreeNd_c {
13public:
14
17 fTrNdBa_c(fBase_c *owner) : mpOwner(owner) {}
18
22 }
23
28
29 fTrNdBa_c *getParent() const {
30 return (fTrNdBa_c *) cTreeNd_c::getParent();
31 }
32
33 fTrNdBa_c *getChild() const {
34 return (fTrNdBa_c *) cTreeNd_c::getChild();
35 }
36
37 fTrNdBa_c *getBrPrev() const {
38 return (fTrNdBa_c *) cTreeNd_c::getBrPrev();
39 }
40
41 fTrNdBa_c *getBrNext() const {
42 return (fTrNdBa_c *) cTreeNd_c::getBrNext();
43 }
44
46};
A tree node. See cTreeMg_c.
Definition c_tree.hpp:7
cTreeNd_c * getTreeNextNotChild() const
Gets the next node in preorder traversal order, excluding the node's children.
Definition c_tree.cpp:103
cTreeNd_c * getTreeNext() const
Gets the next node in preorder traversal order.
Definition c_tree.cpp:92
The base class for all scenes, actors and various other processes.
Definition f_base.hpp:119
A base tree node.
Definition f_tree_nd.hpp:12
fBase_c * mpOwner
The owner of this node.
Definition f_tree_nd.hpp:45
fTrNdBa_c * getTreeNextNotChild() const
Gets the next node in preorder traversal order, excluding the node's children.
Definition f_tree_nd.hpp:25
fTrNdBa_c(fBase_c *owner)
Constructs a new tree node.
Definition f_tree_nd.hpp:17
fTrNdBa_c * getTreeNext() const
Gets the next node in preorder traversal order.
Definition f_tree_nd.hpp:20