public static void RaiseMoveNode(object sender, int posX, int posY, NodeController.NodeMovementDirection movementDirection) { OnMoveNode?.Invoke(sender, new MoveNodeEventArgs(posX, posY, movementDirection)); }
public MoveNodeEventArgs(int posX, int posY, NodeController.NodeMovementDirection movementDirection) { PosX = posX; PosY = posY; MovementDirection = movementDirection; }