Beispiel #1
0
        public void Reset(ISessionCircle sessionCircle, ISessionCircleList sessionCircles)
        {
            var position = sessionCircles.NonCollidingPoint(DefaultSize);

            sessionCircle.X = position.X;
            sessionCircle.Y = position.Y;
        }
Beispiel #2
0
        private void SelectSessionCircle(ISessionCircle sessionCircle)
        {
            if (sessionCircle == null)
            {
                return;
            }

            sessionCircles.DeselectAll();
            sessionCircle.Selected = true;

            sessionDetail.SessionCircles = sessionCircles;
            sessionDetail.SessionCircle  = sessionCircle;
        }
Beispiel #3
0
 private void BeginMove(ISessionCircle toTrack)
 {
     this.toTrack?.Enable();
     this.toTrack = toTrack;
     this.toTrack.Disable();
 }
Beispiel #4
0
 private void EndMove()
 {
     this.toTrack?.Enable();
     this.toTrack = null;
 }