| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/Nerve/NerveStateBase.h" |
| 4 | |
| 5 | namespace al { |
| 6 | struct ActorInitInfo; |
| 7 | |
| 8 | class RailMoveMovement : public HostStateBase<LiveActor> { |
| 9 | public: |
| 10 | RailMoveMovement(LiveActor* host, const ActorInitInfo& info); |
| 11 | |
| 12 | void exeMove(); |
| 13 | |
| 14 | private: |
| 15 | enum class MoveType : u32 { Loop, Turn, Ahead }; |
| 16 | |
| 17 | f32 mSpeed = 10.0f; |
| 18 | MoveType mMoveType = MoveType::Loop; |
| 19 | }; |
| 20 | |
| 21 | static_assert(sizeof(RailMoveMovement) == 0x28); |
| 22 | |
| 23 | RailMoveMovement* tryCreateRailMoveMovement(LiveActor* host, const ActorInitInfo& info); |
| 24 | } // namespace al |
| 25 |