Exemple #1
0
        public TaskResults Run(Coaster coaster)
        {
            TaskResults        results      = TaskResults.Fail;
            List <BuildAction> buildActions = new List <BuildAction>();

            if (coaster.LastTrack.Pitch == 0)
            {
                buildActions.Add(new BuildAction(TrackType.Custom));
                for (int i = 0; i < 3; i++)
                {
                    buildActions.Add(new BuildAction(TrackType.Custom));
                }
                results = Builder.BuildTracks(buildActions, coaster);
            }
            else
            {
                results = BuildToPitch.Run(coaster, new List <float>()
                {
                    0
                });
            }

            return(results);
        }
Exemple #2
0
 public static TaskResults Run(Coaster coaster)
 {
     return(BuildToPitch.Run(coaster, angles));
 }