| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <container/seadPtrArray.h> |
| 4 | |
| 5 | #include "Library/LiveActor/LiveActor.h" |
| 6 | |
| 7 | class HipDropSwitch; |
| 8 | class TrampleSwitch; |
| 9 | |
| 10 | namespace al { |
| 11 | struct ActorInitInfo; |
| 12 | } // namespace al |
| 13 | |
| 14 | class RouletteSwitch : public al::LiveActor { |
| 15 | public: |
| 16 | RouletteSwitch(const char* name); |
| 17 | void init(const al::ActorInitInfo& actorInitInfo) override; |
| 18 | void control() override; |
| 19 | void exeWait(); |
| 20 | |
| 21 | private: |
| 22 | sead::FixedPtrArray<TrampleSwitch, 3> mButtons; |
| 23 | HipDropSwitch* mResetButton = nullptr; |
| 24 | bool mIsPressReset = false; |
| 25 | }; |
| 26 | |
| 27 | static_assert(sizeof(RouletteSwitch) == 0x140); |
| 28 |