public void Reset(ISessionCircle sessionCircle, ISessionCircleList sessionCircles) { var position = sessionCircles.NonCollidingPoint(DefaultSize); sessionCircle.X = position.X; sessionCircle.Y = position.Y; }
private void SelectSessionCircle(ISessionCircle sessionCircle) { if (sessionCircle == null) { return; } sessionCircles.DeselectAll(); sessionCircle.Selected = true; sessionDetail.SessionCircles = sessionCircles; sessionDetail.SessionCircle = sessionCircle; }
private void BeginMove(ISessionCircle toTrack) { this.toTrack?.Enable(); this.toTrack = toTrack; this.toTrack.Disable(); }
private void EndMove() { this.toTrack?.Enable(); this.toTrack = null; }