Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
ConnectPinsCommand.h
Go to the documentation of this file.
1/**
2 * @file ConnectPinsCommand.h
3 * @brief Command for connecting pins
4 * @author Olympe Engine
5 * @date 2026-02-18
6 */
7
8#pragma once
9
10#include "../CommandSystem.h"
11#include "../GraphDocument.h"
12
13namespace Olympe {
14namespace NodeGraph {
15
16/**
17 * @class ConnectPinsCommand
18 * @brief Creates a link between two pins
19 */
21public:
23
24 void Execute() override;
25 void Undo() override;
26 std::string GetDescription() const override;
27
28private:
33};
34
35} // namespace NodeGraph
36} // namespace Olympe
ComponentTypeID GetComponentTypeID_Static()
Definition ECS_Entity.h:56
Creates a link between two pins.
void Undo() override
Undo the command.
void Execute() override
Execute the command.
std::string GetDescription() const override
Get description of the command.
Main document class for a node graph.
Base interface for all commands.
< Provides AssetID and INVALID_ASSET_ID