示例#1
0
        /// <summary>
        /// Show each Area step by step on Startup
        /// </summary>
        /// <param name="receivedAreaUpdate"></param>
        private void ShowEachStepOnStartup(Path receivedAreaUpdate)
        {
            this.ShowInformationOverlay("READY ....");

            Controller.GameArea.setPath(receivedAreaUpdate.Waypoints.Select(x => new Tuple<int, int>(x.Item1, x.Item2)).ToList());
            this.GUIGameInstance.SetPath(receivedAreaUpdate.Waypoints.Select(x => new Tuple<int, int>(x.Item1, x.Item2)).ToList());

            // Show Path step by step
            foreach (GuiArea areaPath in this.GUIGameInstance.Path)
            {
                areaPath.Status = Area.AreaStatus.CorrectlyPassed;
                ViewHelper.Wait(1);
            }

            this.StartStopwatch(true);
        }
示例#2
0
 public GameReadyEventArgs(Path path)
 {
     Path = path;
 }