| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/LiveActor/LiveActor.h" |
| 4 | |
| 5 | #include "Util/IUseDimension.h" |
| 6 | |
| 7 | class ActorDimensionKeeper; |
| 8 | |
| 9 | class BarrelStack2D : public al::LiveActor, public IUseDimension { |
| 10 | public: |
| 11 | BarrelStack2D(const char* name); |
| 12 | void init(const al::ActorInitInfo& info) override; |
| 13 | bool receiveMsg(const al::SensorMsg* message, al::HitSensor* other, |
| 14 | al::HitSensor* self) override; |
| 15 | void doBreak(); |
| 16 | void exeWait(); |
| 17 | void exeBreak(); |
| 18 | |
| 19 | ActorDimensionKeeper* getActorDimensionKeeper() const override { return mDimensionKeeper; } |
| 20 | |
| 21 | private: |
| 22 | ActorDimensionKeeper* mDimensionKeeper = nullptr; |
| 23 | }; |
| 24 | |
| 25 | static_assert(sizeof(BarrelStack2D) == 0x118); |
| 26 |