mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-05-11 09:48:29 +00:00
25 lines
540 B
C++
25 lines
540 B
C++
#pragma once
|
|
|
|
#include "Library/Nerve/NerveStateBase.h"
|
|
|
|
namespace al {
|
|
struct ActorInitInfo;
|
|
|
|
class RailMoveMovement : public HostStateBase<LiveActor> {
|
|
public:
|
|
RailMoveMovement(LiveActor* host, const ActorInitInfo& info);
|
|
|
|
void exeMove();
|
|
|
|
private:
|
|
enum class MoveType : u32 { Loop, Turn, Ahead };
|
|
|
|
f32 mSpeed = 10.0f;
|
|
MoveType mMoveType = MoveType::Loop;
|
|
};
|
|
|
|
static_assert(sizeof(RailMoveMovement) == 0x28);
|
|
|
|
RailMoveMovement* tryCreateRailMoveMovement(LiveActor* host, const ActorInitInfo& info);
|
|
} // namespace al
|