1#include "Game/MapObj/SandCapsuleInsidePlanet.hpp"
3SandCapsuleInsidePlanet::SandCapsuleInsidePlanet(
const char *pName) :
MapObjActor(pName) {
10 MapObjActorUtil::setupInitInfoPlanet(&info);
11 info.setupNerve(&NrvSandCapsuleInsidePlanet::SandCapsuleInsidePlanetNrvWait::sInstance);
12 initialize(rIter, info);
13 MR::startBrk(
this,
"Off");
14 MR::setBrkFrameEndAndStop(
this);
20 MR::listenStageSwitchOnOffA(
this, MR::Functor(
this, onFunc), MR::Functor(
this, offFunc));
23void SandCapsuleInsidePlanet::startOn() {
24 MR::startBrk(
this,
"On");
27void SandCapsuleInsidePlanet::startOff() {
28 MR::startBrk(
this,
"Off");
31namespace NrvSandCapsuleInsidePlanet {
32 INIT_NERVE(SandCapsuleInsidePlanetNrvWait);
35SandCapsuleInsidePlanet::~SandCapsuleInsidePlanet() {
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.