Exemplo n.º 1
0
 public override void onMouseDown(int x, int y)
 {
     this.selectedObject = this.drawingToolBox.GetCanvas().GetDrawingObjectAt(x, y, false);
     if (this.selectedObject != null)
     {
         this.selectedObject.SetState(MovingState.GetInstance());
         this.selectedObject.setMoveStart(x, y);
     }
 }
Exemplo n.º 2
0
 public void onObservedMove()
 {
     this.SetState(MovingState.GetInstance());
     this.updateConnectLine();
 }