SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ScreenBlurArea.cpp
1#include "Game/AreaObj/ScreenBlurArea.hpp"
2
3ScreenBlurArea::ScreenBlurArea(int type, const char *pName) :
4 ImageEffectArea(IMAGE_EFFECT_TYPE_BLUR, type, pName) {
5 mIsPlayerSync = false;
6}
7
8ScreenBlurArea::~ScreenBlurArea() {
9
10}
11
13 AreaObj::init(rIter);
14 mIsPlayerSync = mObjArg0 > 0;
15 MR::createScreenBlur();
16}
17
18const char *ScreenBlurArea::getManagerName() const {
19 return "ImageEffectArea";
20}
21
22bool ScreenBlurArea::isSyncWithPlayer() const {
23 return mIsPlayerSync;
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.