| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/LiveActor/LiveActor.h" |
| 4 | |
| 5 | namespace al { |
| 6 | class AllDeadWatcher : public LiveActor { |
| 7 | public: |
| 8 | AllDeadWatcher(const char* name); |
| 9 | |
| 10 | void appear() override; |
| 11 | void init(const ActorInitInfo& info) override; |
| 12 | void kill() override; |
| 13 | |
| 14 | void exeWait(); |
| 15 | void exeWatch(); |
| 16 | |
| 17 | private: |
| 18 | LiveActor** mTargets = nullptr; |
| 19 | s32 mTargetCount = 0; |
| 20 | s32 mSwitchOnDelayStep = 10; |
| 21 | bool mIsNotControlActorAppear = false; |
| 22 | }; |
| 23 | |
| 24 | static_assert(sizeof(AllDeadWatcher) == 0x120); |
| 25 | } // namespace al |
| 26 |