Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
ToggleNodeBreakpointCommand.h
Go to the documentation of this file.
1/**
2 * @file ToggleNodeBreakpointCommand.h
3 * @brief Command to toggle a node breakpoint (Phase 2.0)
4 * @author Olympe Engine
5 * @date 2026-02-19
6 */
7
8#pragma once
9
10#include "../CommandSystem.h"
11#include "../NodeAnnotations.h"
12
13namespace Olympe {
14namespace NodeGraph {
15
16/**
17 * @class ToggleNodeBreakpointCommand
18 * @brief Toggles the breakpoint state of a node (undo/redo-able)
19 */
21public:
22 /**
23 * @brief Construct the command
24 * @param annotations Annotations manager to operate on
25 * @param nodeId Target node ID
26 */
28
29 void Execute() override;
30 void Undo() override;
31 std::string GetDescription() const override;
32
33private:
38};
39
40} // namespace NodeGraph
41} // namespace Olympe
ComponentTypeID GetComponentTypeID_Static()
Definition ECS_Entity.h:56
Base interface for all commands.
Manages per-node annotations (breakpoints, comments, colors)
Toggles the breakpoint state of a node (undo/redo-able)
std::string GetDescription() const override
Get description of the command.
< Provides AssetID and INVALID_ASSET_ID