![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
UnlinkNodesCommand - Command to remove a link between nodes. More...
#include <BPCommandSystem.h>
Inheritance diagram for Olympe::Blueprint::UnlinkNodesCommand:
Collaboration diagram for Olympe::Blueprint::UnlinkNodesCommand:Public Member Functions | |
| UnlinkNodesCommand (const std::string &graphId, int parentId, int childId) | |
| void | Execute () override |
| void | Undo () override |
| std::string | GetDescription () const override |
Public Member Functions inherited from Olympe::Blueprint::EditorCommand | |
| virtual | ~EditorCommand ()=default |
Private Attributes | |
| std::string | m_GraphId |
| int | m_ParentId |
| int | m_ChildId |
UnlinkNodesCommand - Command to remove a link between nodes.
Definition at line 175 of file BPCommandSystem.h.
| Olympe::Blueprint::UnlinkNodesCommand::UnlinkNodesCommand | ( | const std::string & | graphId, |
| int | parentId, | ||
| int | childId | ||
| ) |
Definition at line 365 of file BPCommandSystem.cpp.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 372 of file BPCommandSystem.cpp.
References Olympe::NodeGraphManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::GetGraph(), m_ChildId, m_GraphId, m_ParentId, and Olympe::NodeGraph::UnlinkNodes().
Here is the call graph for this function:
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 390 of file BPCommandSystem.cpp.
References m_ChildId, and m_ParentId.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 381 of file BPCommandSystem.cpp.
References Olympe::NodeGraphManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::GetGraph(), Olympe::NodeGraph::LinkNodes(), m_ChildId, m_GraphId, and m_ParentId.
Here is the call graph for this function:
|
private |
Definition at line 187 of file BPCommandSystem.h.
Referenced by Execute(), GetDescription(), and Undo().
|
private |
Definition at line 185 of file BPCommandSystem.h.
|
private |
Definition at line 186 of file BPCommandSystem.h.
Referenced by Execute(), GetDescription(), and Undo().