1#pragma once
2
3#include "Library/LiveActor/LiveActor.h"
4
5namespace al {
6class MtxConnector;
7}
8class IUsePlayerPuppet;
9
10class ShineTowerBackDoor : public al::LiveActor {
11public:
12 ShineTowerBackDoor(const char* name);
13
14 void init(const al::ActorInitInfo& info) override;
15 void control() override;
16 bool receiveMsg(const al::SensorMsg* message, al::HitSensor* other,
17 al::HitSensor* self) override;
18
19 void attachToHostJoint(const al::LiveActor* actor, const char* jointName);
20 bool isEnter() const;
21
22 void exeWait();
23 void exeEnter();
24 void exeReaction();
25 void exeReactionWait();
26
27private:
28 al::MtxConnector* mMtxConnector = nullptr;
29 bool _118 = false;
30 s32 mBindTimer = 0;
31 IUsePlayerPuppet* mPlayerPuppet = nullptr;
32};
33