| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/Layout/LayoutActor.h" |
| 4 | |
| 5 | namespace al { |
| 6 | class LayoutInitInfo; |
| 7 | } |
| 8 | |
| 9 | class GaugeAir : public al::LayoutActor { |
| 10 | public: |
| 11 | GaugeAir(const char* name, const al::LayoutInitInfo& info); |
| 12 | bool isWait() const; |
| 13 | |
| 14 | void start(); |
| 15 | void updateStateAnim(); |
| 16 | void endMax(); |
| 17 | void fastEnd(); |
| 18 | void setRate(f32 rate); |
| 19 | |
| 20 | void exeAppear(); |
| 21 | void exeWait(); |
| 22 | void exeEnd(); |
| 23 | void exeFastEnd(); |
| 24 | |
| 25 | private: |
| 26 | bool mIsActive = false; |
| 27 | f32 mRate = 1.0f; |
| 28 | }; |
| 29 |