mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
31 lines
845 B
C++
31 lines
845 B
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
#include "Game/MapObj/Swinger.hpp"
|
|
|
|
class MagicBell : public LiveActor {
|
|
public:
|
|
MagicBell(const char *);
|
|
|
|
virtual ~MagicBell();
|
|
virtual void init(const JMapInfoIter &);
|
|
virtual MtxPtr getBaseMtx() const;
|
|
virtual void attackSensor(HitSensor *, HitSensor *);
|
|
virtual bool receiveMsgPlayerAttack(u32, HitSensor *, HitSensor *);
|
|
|
|
void exeWait();
|
|
void exeRing();
|
|
bool tryRing();
|
|
void startRing(const TVec3f &, const TVec3f &);
|
|
|
|
Swinger* mBellSwinger;
|
|
MtxPtr mSurface2Mtx; // 0x90
|
|
Swinger* mBellRodSwinger;
|
|
MtxPtr mSurface1Mtx; // 0x98
|
|
TVec3f mHitMarkPosition;
|
|
};
|
|
|
|
namespace NrvMagicBell {
|
|
NERVE_DECL(MagicBellNrvWait, MagicBell, MagicBell::exeWait);
|
|
NERVE_DECL(MagicBellNrvRing, MagicBell, MagicBell::exeRing);
|
|
}; |