import java.awt.*; // Needed for window and graphics (explained in COMP1406) import javax.swing.*; // Needed for window and graphics (explained in COMP1406) // This application simulates robots attracted to beacons in a window public class RobotSimulation { // This variable stores the panel that displays the robots and beacons // (This is a topic discussed in COMP1406 course) public static RobotEnvironmentPanel envPanel; public static Robot[] robots; // an array to hold the robots public static void startSimulation() { while(true) { for (int i=0; i