| 1 | #pragma once |
| 2 | |
| 3 | #include "Library/LiveActor/LiveActor.h" |
| 4 | |
| 5 | namespace al { |
| 6 | |
| 7 | class BreakModel : public LiveActor { |
| 8 | public: |
| 9 | BreakModel(const LiveActor* rootActor, const char* objName, const char* modelName, |
| 10 | const char* fileSuffixName, const sead::Matrix34f* rootMtx, |
| 11 | const char* breakActionName); |
| 12 | void init(const ActorInitInfo&); |
| 13 | void appear(); |
| 14 | void exeWait(); |
| 15 | void exeBreak(); |
| 16 | |
| 17 | private: |
| 18 | const LiveActor* mParent; |
| 19 | const sead::Matrix34f* mRootMtx; |
| 20 | const char* mModelName; |
| 21 | const char* mBreakAction; |
| 22 | const char* mInitSuffix; |
| 23 | f32 mActionFrameRate = 1.0f; |
| 24 | bool mIsValid = false; |
| 25 | s32 mStep = 0; |
| 26 | }; |
| 27 | |
| 28 | static_assert(sizeof(BreakModel) == 0x140, "al::BreakModel Size" ); |
| 29 | |
| 30 | } // namespace al |
| 31 | |