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