SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
HazeCube.cpp
1#include "Game/AreaObj/HazeCube.hpp"
2#include "Game/Scene/SceneObjHolder.hpp"
3
4HazeCube::HazeCube(int type, const char *pName) : AreaObj(type, pName) {
5 _3C = 1000.0f;
6}
7
8HazeCube::~HazeCube() {
9
10}
11
12void HazeCube::init(const JMapInfoIter &rIter) {
13 AreaObj::init(rIter);
14
15 if (mObjArg0 >= 0) {
16 _3C = static_cast<f32>(mObjArg0);
17 }
18
19 MR::createSceneObj(SceneObj_HeatHazeDirector);
20}
21
22const char *HazeCube::getManagerName() const {
23 return "HazeCube";
24}
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition AreaObj.cpp:41
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition HazeCube.cpp:12