public override void OnMouseMove(Point location)
 {
     if (moving && LayerEditor.MouseSnapPosition != moveEntity.Nodes[moveIndex])
     {
         if (moveAction == null)
         {
             moveAction = new EntityMoveNodeAction(LayerEditor.Layer, moveEntity, moveIndex, LayerEditor.MouseSnapPosition);
             LevelEditor.Perform(moveAction);
         }
         else
         {
             moveAction.DoAgain(LayerEditor.MouseSnapPosition);
         }
     }
 }
 public override void OnMouseLeftUp(Point location)
 {
     if (moving)
     {
         moving = false;
         moveAction = null;
     }
 }