Added single-shot delay times for emitting target stopped events to Insight components, when stepping through code

This commit is contained in:
Nav
2022-09-17 20:55:17 +01:00
parent 4b7054070d
commit 238819eb42
4 changed files with 39 additions and 4 deletions

View File

@@ -12,7 +12,11 @@ namespace Bloom::Events
static constexpr EventType type = EventType::TARGET_EXECUTION_RESUMED;
static inline const std::string name = "TargetExecutionResumed";
TargetExecutionResumed() = default;
bool stepping = false;
explicit TargetExecutionResumed(bool stepping)
: stepping(stepping)
{};
[[nodiscard]] EventType getType() const override {
return TargetExecutionResumed::type;