1#pragma once
2
3#include "Library/LiveActor/LiveActor.h"
4
5namespace al {
6class FallMapParts : public LiveActor {
7public:
8 FallMapParts(const char* name);
9
10 void init(const ActorInitInfo& info) override;
11 bool receiveMsg(const SensorMsg* message, HitSensor* other, HitSensor* self) override;
12 void appearAndSetStart();
13 void exeAppear();
14 void exeWait();
15 void exeFallSign();
16 bool isEndFallSign() const;
17 void exeFall();
18 void exeEnd();
19
20private:
21 sead::Vector3f mPos = sead::Vector3f::zero;
22 s32 mFallTime = 75;
23 bool mIsStartAction = false;
24 bool mIsInvalidAutoRestart = false;
25};
26
27static_assert(sizeof(FallMapParts) == 0x120);
28} // namespace al
29