Debian Codegraph @

Sources/Jazz2/Actors/Collectibles/GemCollectible.h

raw symbols SCIP
1 #pragma once
2
3 #include "CollectibleBase.h"
4
5 namespace Jazz2::Actors::Collectibles
6 {
7 /** @brief Gem (collectible) */
8 class GemCollectible : public CollectibleBase
9 {
10 DEATH_RUNTIME_OBJECT(CollectibleBase);
11
12 public:
13 GemCollectible();
14
15 static void Preload(const ActorActivationDetails& details);
16
17 protected:
18 #ifndef DOXYGEN_GENERATING_OUTPUT
19 float _ignoreTime;
20 std::uint8_t _gemType;
21 #endif
22
23 Task<bool> OnActivatedAsync(const ActorActivationDetails& details) override;
24 void OnUpdate(float timeMult) override;
25 void OnUpdateHitbox() override;
26 void OnCollect(Player* player) override;
27 };
28 }