Пример #1
0
 private void Finish(Robot robot)
 {
     graph.FillRectangle(new SolidBrush(Color.Gold), robot.Rect);
     graph.DrawString("Robot " + robot.Name + " wins !");
 }
Пример #2
0
 private void DestroyRobot(Robot robot)
 {
     graph.FillRectangle(new SolidBrush(Color.Black), robot.Rect);
 }