mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-29 20:14:41 +00:00
29 lines
666 B
C++
29 lines
666 B
C++
#pragma once
|
|
|
|
#include "Library/LiveActor/LiveActor.h"
|
|
#include "Library/Math/Axis.h"
|
|
|
|
namespace al {
|
|
class RotateMapParts : public LiveActor {
|
|
public:
|
|
RotateMapParts(const char* name);
|
|
|
|
void init(const ActorInitInfo& info) override;
|
|
void start();
|
|
bool receiveMsg(const SensorMsg* message, HitSensor* other, HitSensor* self) override;
|
|
void appearAndSetStart();
|
|
|
|
void exeStandBy();
|
|
void exeRotate();
|
|
void exeAssistStop();
|
|
|
|
private:
|
|
sead::Quatf mQuat = sead::Quatf::unit;
|
|
Axis mRotateAxis = Axis::X;
|
|
f32 mRotateSpeed = 100.0f;
|
|
s32 mAssistTimer = 0;
|
|
};
|
|
|
|
static_assert(sizeof(RotateMapParts) == 0x128);
|
|
} // namespace al
|