| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/Layout/LayoutActor.h" |
| 4 | |
| 5 | namespace al { |
| 6 | class LayoutInitInfo; |
| 7 | |
| 8 | class WipeSimple : public LayoutActor { |
| 9 | public: |
| 10 | WipeSimple(const char* name, const char* layoutName, const LayoutInitInfo& info, |
| 11 | const char* actorName); |
| 12 | |
| 13 | void startClose(s32 frames = -1); |
| 14 | void tryStartClose(s32 frames = -1); |
| 15 | void startCloseEnd(); |
| 16 | void startOpen(s32 frames = -1); |
| 17 | void tryStartOpen(s32 frames = -1); |
| 18 | bool isCloseEnd() const; |
| 19 | bool isOpenEnd() const; |
| 20 | void exeClose(); |
| 21 | void exeCloseEnd(); |
| 22 | void exeOpen(); |
| 23 | |
| 24 | void appear() override; |
| 25 | |
| 26 | private: |
| 27 | s32 mFrames = -1; |
| 28 | }; |
| 29 | |
| 30 | } // namespace al |
| 31 |