Esempio n. 1
0
        public TaskResults BuildLoop()
        {
            userRequest.Add("BuildLoop()");

            lastTaskResults = taskHandler.Start(new BuildLoop());
            return(lastTaskResults);
        }
Esempio n. 2
0
        public TaskResults Start(Task task)
        {
            TaskResults results = new TaskResults(task);

            firstRun = true;

            results.Pass      = RunTask(task, ref results.RuleBroke, ref results.FixTask);
            results.Addtional = Addtional;

            return(results);
        }
Esempio n. 3
0
 private void CreateStartTracks()
 {
     if (!Coaster.GetCurrentTracksStarted)
     {
         userRequest.Add("CreateStartTracks()");
         lastTaskResults = taskHandler.Start(new BuildStartTracks());
         if (lastTaskResults.Pass)
         {
             Coaster.SetTracksStarted = true;
             CreatePoint(true);
         }
     }
 }
Esempio n. 4
0
 public TaskResults FinshCoaster()
 {
     userRequest.Add("FinshCoaster()");
     lastTaskResults = taskHandler.Start(new BuildToFinshArea());
     return(lastTaskResults);
 }
Esempio n. 5
0
 public TaskResults RemoveChunk()
 {
     userRequest.Add("RemoveChunk()");
     lastTaskResults = taskHandler.Start(new RemoveChunk());
     return(lastTaskResults);
 }