1#pragma once
2
3#include "Library/Layout/LayoutActor.h"
4
5namespace al {
6class LayoutInitInfo;
7
8class SimpleLayoutAppearWaitEnd : public LayoutActor {
9public:
10 SimpleLayoutAppearWaitEnd(const char* name, const char* layoutName, const LayoutInitInfo& info,
11 const char* archiveName, bool localize);
12 SimpleLayoutAppearWaitEnd(LayoutActor* parentActor, const char* name, const char* layoutName,
13 const LayoutInitInfo& info, const char* archiveName);
14
15 void appear() override;
16 void end();
17 void startWait();
18
19 void exeAppear();
20 void exeWait();
21 void exeEnd();
22 bool isWait() const;
23 bool isAppearOrWait() const;
24
25private:
26 s32 mLifetime = -1;
27};
28} // namespace al
29