Initial commit
This commit is contained in:
21
src/EventManager/Events/TargetControllerStopped.hpp
Normal file
21
src/EventManager/Events/TargetControllerStopped.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#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;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user