SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ManholeCover.hpp
1#pragma once
2
3#include "Game/MapObj/MapObjActor.hpp"
4
5class ManholeCover : public MapObjActor {
6public:
7
8 inline ManholeCover(const char *pName) : MapObjActor(pName) {
9
10 }
11
12 virtual ~ManholeCover();
13 virtual void init(const JMapInfoIter &);
14 virtual bool receiveMsgPlayerAttack(u32, HitSensor *, HitSensor *);
15 virtual bool receiveOtherMsg(u32, HitSensor *, HitSensor *);
16
17 void exeOpen();
18 void exeRattle();
19};
20
21namespace NrvManholeCover {
22 NERVE_DECL_NULL(HostTypeWait);
23 NERVE_DECL(HostTypeOpen, ManholeCover, ManholeCover::exeOpen);
24 NERVE_DECL(HostTypeRattle, ManholeCover, ManholeCover::exeRattle);
25};
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.