| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "../ActorBase.h" |
| 4 |
#include "../../ExitType.h" |
| 5 |
|
| 6 |
namespace Jazz2::Actors::Environment |
| 7 |
{ |
| 8 |
/** @brief End of level sign */ |
| 9 |
class EndOfLevel : public ActorBase |
| 10 |
{ |
| 11 |
DEATH_RUNTIME_OBJECT(ActorBase); |
| 12 |
|
| 13 |
public: |
| 14 |
EndOfLevel(); |
| 15 |
|
| 16 |
static void Preload(const ActorActivationDetails& details); |
| 17 |
|
| 18 |
protected: |
| 19 |
Task<bool> OnActivatedAsync(const ActorActivationDetails& details) override; |
| 20 |
void OnUpdateHitbox() override; |
| 21 |
|
| 22 |
private: |
| 23 |
ExitType _exitType; |
| 24 |
}; |
| 25 |
} |