![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Base interface for all commands. More...
#include <CommandSystem.h>
Inheritance diagram for Olympe::NodeGraph::ICommand:Public Member Functions | |
| virtual | ~ICommand ()=default |
| virtual void | Execute ()=0 |
| Execute the command. | |
| virtual void | Undo ()=0 |
| Undo the command. | |
| virtual std::string | GetDescription () const =0 |
| Get description of the command. | |
Base interface for all commands.
Definition at line 24 of file CommandSystem.h.
|
virtualdefault |
|
pure virtual |
Get description of the command.
Implemented in Olympe::NodeGraph::ConnectPinsCommand, Olympe::NodeGraph::CreateNodeCommand, Olympe::NodeGraph::Commands::DeleteLinkCommand, Olympe::NodeGraph::DeleteNodeCommand, Olympe::NodeGraph::MoveNodeCommand, and Olympe::NodeGraph::ToggleNodeBreakpointCommand.