@@ -0,0 +1,1553 @@
+package Westminster.Team5.marccarre.bots;%0A%0Aimport robocode.AdvancedRobot;%0Aimport robocode.RobotDeathEvent;%0Aimport robocode.ScannedRobotEvent;%0A%0Apublic class Shooter extends AdvancedRobot %7B%0A%0A    private EnemyBot enemy = new EnemyBot();%0A%0A    public void run() %7B%0A        // divorce radar movement from gun movement%0A        setAdjustRadarForGunTurn(true);%0A        // divorce gun movement from tank movement%0A        setAdjustGunForRobotTurn(true);%0A        // we have no enemy yet%0A        enemy.reset();%0A        // initial scan%0A        setTurnRadarRight(360);%0A%0A        while (true) %7B%0A            // rotate the radar%0A            setTurnRadarRight(360);%0A%0A            // sit & spin%0A            setTurnRight(5);%0A            setAhead(20);%0A            execute();%0A        %7D%0A    %7D%0A%0A    public void onScannedRobot(ScannedRobotEvent e) %7B%0A%0A        // track if we have no enemy, the one we found is significantly%0A        // closer, or we scanned the one we've been tracking.%0A        if (enemy.none() %7C%7C e.getDistance() %3C enemy.getDistance() - 70 %7C%7C%0A                e.getName().equals(enemy.getName())) %7B%0A%0A            // track him%0A            enemy.update(e);%0A%0A            // turn gun toward enemy%0A            setTurnGunRight(getHeading() - getGunHeading() + e.getBearing());%0A%0A            // shoot%0A            setFire(Math.min(400 / enemy.getDistance(), 3));%0A        %7D%0A    %7D%0A%0A    public void onRobotDeath(RobotDeathEvent e) %7B%0A        // see if the robot we were tracking died%0A        if (e.getName().equals(enemy.getName())) %7B%0A            enemy.reset();%0A        %7D%0A    %7D%0A%0A%7D%0A

Create Shooter.java