4#include "Engine/Network/NetworkManager.h"
5#include "Engine/UndoRedo/UndoCommand.h"
13 : opId_(opId), oldPos_(oldPos), newPos_(newPos)
20 nm().nodePositionChanged(opId_, oldPos_);
26 nm().nodePositionChanged(opId_, newPos_);
29 UndoCommandType type()
const override {
return UndoCommandType::MoveNode; }
Basic attribute, parameter, and node types for Enzo.
uint64_t OpId
The unique ID assigned to each node in the network.
Definition Types.h:137
void setPosition(Vector2 pos)
Sets the node's position in the network graph.
Definition GeometryOperator.h:118
Definition MoveNodeCommand.h:10
GeometryOperator & getGeoOperator(nt::OpId opId)
Returns a reference to the GeometryOperator with the given OpId.
Definition NetworkManager.cpp:141
Definition UndoCommand.h:8