public void timetoJongoisme() { for (int i = 0; i < trælle.getJohn().Count; i++) { Point[] waypoints = trælle.getJohn()[i].getWaypoints(); for (int j = 0; j < waypoints.Length; j++) { waypoints[j].X = waypoints[j].X + 1; waypoints[j].Y = waypoints[j].Y + 200; } trælle.getJohn()[i].changeCourse(); } }
public void jongoTime() { Graphics graphics = panel1.CreateGraphics(); for (int num = 5; num >= 0; num--) { for (int num2 = trælle.getJohn().Count - 1; num2 > 0; num2--) { trælle.getJohn()[num2].changeCourse(); trælle.getJohn()[num2].moodChange(trælle.getJohn()[num2].changeCourse(), new Juklas()); graphics.FillEllipse(new SolidBrush(trælle.getJohn()[num2].getColor()), new Rectangle(trælle.getJohn()[num2].getX(), trælle.getJohn()[num2].getY(), trælle.getJohn()[num2].getSize(), trælle.getJohn()[num2].getSize())); graphics.FillEllipse(new SolidBrush(trælle.getJohn()[num2].jingoTime(new Juklas(4)).getMood()), new Jingo().getSizeRectangle()); } } }