1#include "Game/Map/FileSelectEffect.hpp"
3FileSelectEffect::FileSelectEffect(
const char *pName) :
LiveActor(pName) {
8 initModelManagerWithAnm(
"MiniatureGalaxySelect",
nullptr,
false);
9 MR::connectToSceneMapObj(
this);
10 MR::invalidateClipping(
this);
11 initNerve(&FileSelectEffectNrvWait::sInstance);
15void FileSelectEffect::appear() {
17 setNerve(&FileSelectEffectNrvAppear::sInstance);
22void FileSelectEffect::exeAppear() {
23 if (MR::isFirstStep(
this)) {
24 MR::startBrk(
this,
"Appear");
25 MR::startBtk(
this,
"MiniatureGalaxySelect");
28 if (MR::isBrkOneTimeAndStopped(
this)) {
29 setNerve(&FileSelectEffectNrvWait::sInstance);
33void FileSelectEffect::exeDisappear() {
34 if (MR::isFirstStep(
this)) {
35 MR::startBrk(
this,
"Disappear");
36 J3DFrameCtrl* ctrl = MR::getBrkCtrl(
this);
37 MR::setBrkFrame(
this, ctrl->mEndFrame - mEffectFrame);
40 if (MR::isBrkOneTimeAndStopped(
this)) {
48 INIT_NERVE(FileSelectEffectNrvAppear);
49 INIT_NERVE(FileSelectEffectNrvWait);
50 INIT_NERVE(FileSelectEffectNrvDisappear);
53FileSelectEffect::~FileSelectEffect() {
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
The basis of a drawable actor that can contain states (see: Nerve)