Beispiel #1
0
 /// <summary>
 /// Select command and return true if selected
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public bool SelectCommand(float x, float y)
 {
     currentCommand = this.EditorProject.CurrentReportPage.SelectCommand(x, y);
     return currentCommand != null;
 }
Beispiel #2
0
 /// <summary>
 /// Stop moving command
 /// </summary>
 public void StopMovingCommand()
 {
     if (currentCommand != null)
     {
         currentCommand.StopMoving();
     }
     isMovingCommand = false;
     currentCommand = null;
     OnEditorItemHierarchyChanged();
 }
Beispiel #3
0
 /// <summary>
 /// Select command and return true if selected
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public bool SelectCommand(float x, float y)
 {
     currentCommand = this.EditorProject.CurrentReportPage.SelectCommand(x, y);
     return(currentCommand != null);
 }