| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <prim/seadSafeString.h> |
| 4 | |
| 5 | #include "Library/Layout/LayoutActor.h" |
| 6 | |
| 7 | namespace al { |
| 8 | class LayoutInitInfo; |
| 9 | } |
| 10 | |
| 11 | class MiniGameLayout : public al::LayoutActor { |
| 12 | public: |
| 13 | MiniGameLayout(const char* name, const al::LayoutInitInfo& info); |
| 14 | |
| 15 | void appear() override; |
| 16 | void kill() override; |
| 17 | |
| 18 | void startJumprope(); |
| 19 | void startRace(); |
| 20 | void startVolleyball(); |
| 21 | void end(); |
| 22 | void setBestCount(s32 count); |
| 23 | void setTodayCount(s32 count); |
| 24 | void setCount(s32 count); |
| 25 | void startNewRecord(); |
| 26 | void startNewRecordWait(); |
| 27 | void startNewRecordToday(); |
| 28 | bool isEnd() const; |
| 29 | |
| 30 | void exeAppear(); |
| 31 | void exeWait(); |
| 32 | void exeEnd(); |
| 33 | |
| 34 | private: |
| 35 | sead::WFixedSafeString<32> mScoreText; |
| 36 | }; |
| 37 |