| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/LiveActor/LiveActor.h" |
| 4 | |
| 5 | namespace al { |
| 6 | class MtxConnector; |
| 7 | } |
| 8 | class IUsePlayerPuppet; |
| 9 | |
| 10 | class ShineTowerBackDoor : public al::LiveActor { |
| 11 | public: |
| 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 | |
| 27 | private: |
| 28 | al::MtxConnector* mMtxConnector = nullptr; |
| 29 | bool _118 = false; |
| 30 | s32 mBindTimer = 0; |
| 31 | IUsePlayerPuppet* mPlayerPuppet = nullptr; |
| 32 | }; |
| 33 |