NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
f_tree_mg_ptmf.hpp
1#pragma once
2#include <types.h>
3#include <dol/cLib/c_tree.hpp>
4#include <dol/framework/f_tree_mg.hpp>
5
6class fBase_c;
7
11class fTrMgPTMF_c : public fTrMgBa_c {
12public:
13
16 fTrMgPTMF_c(int (fBase_c::*procFunc)()) : mpProcFunc(procFunc) {}
17
20 bool walkPack();
21
22private:
23 int (fBase_c::*mpProcFunc)();
24};
The base class for all scenes, actors and various other processes.
Definition f_base.hpp:117
A base tree, made of fTrNdBa_c nodes.
Definition f_tree_mg.hpp:11
A base tree made of fTrNdBa_c nodes, with a reference to a process function.
fTrMgPTMF_c(int(fBase_c::*procFunc)())
Constructs a new tree.
bool walkPack()
Calls the process function on each base in the tree.
Definition f_tree.cpp:7
int(fBase_c::* mpProcFunc)()
The process function for the tree.