Beispiel #1
0
        public void PlaceAimMarker(int x, int y)
        {
            aimMarker.Place(x, y);
            aimTraj.SetEndPoint(x, y);
            calculateSpin = true;
            int spinX = (originMarker.X + aimMarker.X) / 2;
            int spinY = (originMarker.Y + aimMarker.Y) / 2;

            SetSpinMarker(spinX, spinY);
        }
Beispiel #2
0
 public void SetSpinMarker(int x, int y)
 {
     if (!spinMarker.IsPlaced)
     {
         spinMarker.Place(x, y);
         spinTraj.SetEndPoint(x, y);
         spinMarker.ShowClickRectangle = true;
     }
     else
     {
         spinMarker.AdjustPosition(x, y);
         spinTraj.SetEndPoint(x, y);
     }
     AddSpin();
 }
Beispiel #3
0
 public void PlaceStartMarker(int x, int y)
 {
     originMarker.Place(x, y);
     aimTraj.Load(x, y);
     spinTraj.Load(x, y);
 }