24 lines
538 B
C++
24 lines
538 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
#include "Event.hpp"
|
||
|
|
#include "src/TargetController/TargetControllerState.hpp"
|
||
|
|
|
||
|
|
namespace Bloom::Events
|
||
|
|
{
|
||
|
|
class TargetControllerStateReported: public Event
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
TargetControllerState state;
|
||
|
|
|
||
|
|
TargetControllerStateReported(TargetControllerState state): state(state) {};
|
||
|
|
|
||
|
|
static inline const std::string name = "TargetControllerStateReported";
|
||
|
|
|
||
|
|
std::string getName() const override {
|
||
|
|
return TargetControllerStateReported::name;
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|