| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/LiveActor/LiveActor.h" |
| 4 | |
| 5 | class RaceAudienceNpc : public al::LiveActor { |
| 6 | public: |
| 7 | enum class ActionType { Wait, Dance, Jump }; |
| 8 | |
| 9 | RaceAudienceNpc(const char* name); |
| 10 | |
| 11 | void init(const al::ActorInitInfo& info) override; |
| 12 | |
| 13 | void exeWait(); |
| 14 | void exeDance(); |
| 15 | void exeDanceRandom(); |
| 16 | void exeJump(); |
| 17 | |
| 18 | private: |
| 19 | ActionType mAudienceActionType = ActionType::Wait; |
| 20 | s32 mDanceTimer = 0; |
| 21 | }; |
| 22 |