1#pragma once
2
3#include "Library/LiveActor/LiveActor.h"
4
5namespace al {
6class SeesawMapParts : public LiveActor {
7public:
8 SeesawMapParts(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
14 void exeWait();
15
16private:
17 sead::Quatf mQuat = sead::Quatf::unit;
18 sead::Vector3f mSide = sead::Vector3f::ey;
19 sead::Vector3f mFront = sead::Vector3f::ez;
20 f32 mRotateDegree = 0.0f;
21 f32 mRotateSpeed = 0.0f;
22 f32 mRotateAccelOn = 0.025f;
23 f32 mRotateAccelOff = 0.0125f;
24 f32 mMaxDegree = 45.0f;
25 f32 mWeight = 0.0f;
26 s32 mRemainingAccelOnFrames = 0;
27};
28
29static_assert(sizeof(SeesawMapParts) == 0x150);
30} // namespace al
31