SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
source
Game
MapObj
Sun.cpp
1
#include "Game/MapObj/Sun.hpp"
2
#include "Game/Util.hpp"
3
4
Sun::Sun(
const
char
*pName) :
LiveActor
(pName) {
5
6
}
7
8
Sun::~Sun() {
9
10
}
11
12
void
Sun::init
(
const
JMapInfoIter
&rIter) {
13
initModelManagerWithAnm(
"Sun"
,
nullptr
,
false
);
14
MR::connectToSceneSun(
this
);
15
MR::invalidateClipping(
this
);
16
makeActorAppeared();
17
}
JMapInfoIter
Definition
JMapInfo.hpp:16
LiveActor
The basis of a drawable actor that can contain states (see: Nerve)
Definition
LiveActor.hpp:24
Sun::init
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition
Sun.cpp:12
Generated by
1.10.0