1#pragma once
2
3#include "Library/LiveActor/LiveActor.h"
4#include "Library/Math/Axis.h"
5
6namespace al {
7class RotateMapParts : public LiveActor {
8public:
9 RotateMapParts(const char* name);
10
11 void init(const ActorInitInfo& info) override;
12 void start();
13 bool receiveMsg(const SensorMsg* message, HitSensor* other, HitSensor* self) override;
14 void appearAndSetStart();
15
16 void exeStandBy();
17 void exeRotate();
18 void exeAssistStop();
19
20private:
21 sead::Quatf mQuat = sead::Quatf::unit;
22 Axis mRotateAxis = Axis::X;
23 f32 mRotateSpeed = 100.0f;
24 s32 mAssistTimer = 0;
25};
26
27static_assert(sizeof(RotateMapParts) == 0x128);
28} // namespace al
29