22 lines
478 B
C++
22 lines
478 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <src/Exceptions/Exception.hpp>
|
||
|
|
#include "Event.hpp"
|
||
|
|
|
||
|
|
namespace Bloom::Events
|
||
|
|
{
|
||
|
|
class TargetControllerStopped: public Event
|
||
|
|
{
|
||
|
|
private:
|
||
|
|
bool stoppedAbruptly = false;
|
||
|
|
std::optional<Exceptions::Exception> caughtException;
|
||
|
|
|
||
|
|
public:
|
||
|
|
static inline const std::string name = "TargetControllerStoppedEvent";
|
||
|
|
|
||
|
|
std::string getName() const override {
|
||
|
|
return TargetControllerStopped::name;
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|