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); }
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(); }
public void PlaceStartMarker(int x, int y) { originMarker.Place(x, y); aimTraj.Load(x, y); spinTraj.Load(x, y); }