| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/Layout/LayoutActor.h" |
| 4 | |
| 5 | namespace al { |
| 6 | class LayoutInitInfo; |
| 7 | } |
| 8 | |
| 9 | class RaceCountDownLayout : public al::LayoutActor { |
| 10 | public: |
| 11 | RaceCountDownLayout(const al::LayoutInitInfo& info); |
| 12 | |
| 13 | void startCountDown(s32 count); |
| 14 | void startFinish(); |
| 15 | bool isEndCountDown() const; |
| 16 | bool isEndFinish() const; |
| 17 | void reset(); |
| 18 | |
| 19 | void exeWait(); |
| 20 | void exeCountDown(); |
| 21 | void exeCountDownEnd(); |
| 22 | void exeFinish(); |
| 23 | void exeFinishEnd(); |
| 24 | |
| 25 | private: |
| 26 | al::LayoutActor* mCountLayout = nullptr; |
| 27 | s32 mCount = 0; |
| 28 | }; |
| 29 |