![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
LinkNodesCommand - Command to create a link between nodes. More...
#include <BPCommandSystem.h>
Inheritance diagram for Olympe::Blueprint::LinkNodesCommand:
Collaboration diagram for Olympe::Blueprint::LinkNodesCommand:Public Member Functions | |
| LinkNodesCommand (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 |
LinkNodesCommand - Command to create a link between nodes.
Definition at line 157 of file BPCommandSystem.h.
| Olympe::Blueprint::LinkNodesCommand::LinkNodesCommand | ( | const std::string & | graphId, |
| int | parentId, | ||
| int | childId | ||
| ) |
Definition at line 331 of file BPCommandSystem.cpp.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 338 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:
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 356 of file BPCommandSystem.cpp.
References m_ChildId, and m_ParentId.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 347 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:
|
private |
Definition at line 169 of file BPCommandSystem.h.
Referenced by Execute(), GetDescription(), and Undo().
|
private |
Definition at line 167 of file BPCommandSystem.h.
|
private |
Definition at line 168 of file BPCommandSystem.h.
Referenced by Execute(), GetDescription(), and Undo().