Debian Codegraph @

Sources/Jazz2/Actors/Solid/PushableBox.h

raw
1 #pragma once
2
3 #include "../SolidObjectBase.h"
4
5 namespace Jazz2::Actors::Solid
6 {
7 /** @brief Pushable box */
8 class PushableBox : public SolidObjectBase
9 {
10 DEATH_RUNTIME_OBJECT(SolidObjectBase);
11
12 public:
13 PushableBox();
14
15 static void Preload(const ActorActivationDetails& details);
16
17 bool OnHandleCollision(std::shared_ptr<ActorBase> other) override;
18
19 protected:
20 Task<bool> OnActivatedAsync(const ActorActivationDetails& details) override;
21 float GetIceShrapnelScale() const override;
22 };
23 }