1#pragma once
2
3#include "Library/Nerve/NerveStateBase.h"
4
5class EnemyStateWander : public al::ActorStateBase {
6public:
7 EnemyStateWander(al::LiveActor* actor, const char* stateName);
8
9 void appear() override;
10
11 void exeWait();
12 void exeWalk();
13 void exeFall();
14
15 bool isWait() const;
16 bool isWalk() const;
17 bool isFall() const;
18 void changeWalkAnim(const char*);
19
20private:
21 const char* mStateName;
22 s32 mMaxWaitTime = 0;
23 f32 mWalkSpeed = -1.0f;
24 bool mIsSwapRotation = false;
25};
26