protected override void Update()
 {
     if (_playField != null && LoadComplete)
     {
         //Update current time
         var current = _playField.GetCurrentTime();
         TimeSlideBar.CurrentTime = current;
     }
 }
        /// <summary>
        ///     FindObjectByCurrentTime
        /// </summary>
        /// <param name="karaokeField"></param>
        /// <returns></returns>
        public static HitObject FindObjectByCurrentTime(this IAmKaraokeField karaokeField)
        {
            var currentTime = karaokeField.GetCurrentTime();
            var listObjects = karaokeField.GetListHitObjects();

            for (var i = 0; i < listObjects.Count; i++)
            {
                if (listObjects[i].StartTime >= currentTime + PrepareTime)
                {
                    if (i == 0)
                    {
                        return(null);
                    }

                    return(listObjects[i - 1]);
                }
            }

            return(null);
        }