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

            lastTaskResults = taskHandler.Start(new BuildLoop());
            return(lastTaskResults);
        }
Exemplo 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);
        }
Exemplo 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);
         }
     }
 }
Exemplo n.º 4
0
 public TaskResults FinshCoaster()
 {
     userRequest.Add("FinshCoaster()");
     lastTaskResults = taskHandler.Start(new BuildToFinshArea());
     return(lastTaskResults);
 }
Exemplo n.º 5
0
 public TaskResults RemoveChunk()
 {
     userRequest.Add("RemoveChunk()");
     lastTaskResults = taskHandler.Start(new RemoveChunk());
     return(lastTaskResults);
 }