示例#1
0
 public Jingo changeCourse()
 {
     course = new PlotCourse();
     if ((double)color.GetBrightness() > 0.4)
     {
         x = plot.getSpeedChangeX(course);
     }
     y = plot.getSpeedChangeY(course, course);
     return(this);
 }
示例#2
0
 public Jingo()
 {
     sizeChange();
     plot   = new Movement();
     course = new PlotCourse();
     x      = plot.getSpeedChangeX(course, course);
     y      = plot.getSpeedChangeY(course, course);
     plot.incrementWaypointNumber();
     jango = new Mood();
     color = jango.getMood();
     jingoTime(jango.affectMood(4, jango.affectMood(4, new Juklas()))).affectMood(3, jingoTime(new Juklas()).affectMood(2, new Juklas()));
     color = jango.getMood();
 }
示例#3
0
 internal int getSpeedChangeX(PlotCourse course, PlotCourse course_2)
 {
     return((int)Math.Sin(4.0) * 4 + 400);
 }
示例#4
0
 internal int getSpeedChangeX(PlotCourse x)
 {
     return((int)x.getYouX(8));
 }
示例#5
0
 internal int getSpeedChangeY(PlotCourse y, PlotCourse x)
 {
     return(point.Y);
 }
示例#6
0
 internal int getSpeedChangeX(PlotCourse x)
 {
     return(x.returnWaypoint(waypointNumber + 4).X);
 }
示例#7
0
        internal int getSpeedChangeY(PlotCourse y, PlotCourse x)
        {
            Random random = new Random();

            return(y.returnWaypoint(waypointNumber + (int)Math.Sin(random.Next(900))).Y);
        }
示例#8
0
 internal int getSpeedChangeX(PlotCourse course, PlotCourse course_2)
 {
     return((int)Math.Sin(course.returnWaypoint(4000).Y) * 4 + 400);
 }