| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/Layout/LayoutActor.h" |
| 4 | |
| 5 | namespace al { |
| 6 | class LayoutInitInfo; |
| 7 | class LiveActor; |
| 8 | } // namespace al |
| 9 | |
| 10 | class CoinCollectLayout : public al::LayoutActor { |
| 11 | public: |
| 12 | CoinCollectLayout(const al::LayoutInitInfo& info); |
| 13 | |
| 14 | void appearCounter(s32 maxCoins, s32 currentCoins, const al::LiveActor* coinActor); |
| 15 | void exeStart(); |
| 16 | void updatePos(); |
| 17 | void exeWait(); |
| 18 | void exeEnd(); |
| 19 | |
| 20 | private: |
| 21 | const al::LiveActor* mCoinActor = nullptr; |
| 22 | }; |
| 23 |