 


/**
 * Write a description of interface Spot here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class ViewSpot
{
    private boolean hit;
    public ViewSpot()
    {
        hit=false;
    }
    public void changeHit()
    {
        if (hit==false)
        {
            hit=true;
        }
    }
}

@@ -1,8 +1,4 @@
- %0A%0A%0A
 /**%0A
@@ -56,26 +56,19 @@
  * @
-author (your name)
+Basit Malik
  %0A *
@@ -227,12 +227,15 @@
 lic 
-void
+boolean
  cha
@@ -246,68 +246,371 @@
 it()
-%0A    %7B%0A        if (hit==false)%0A        %7B%0A            hit=tru
+//The else with a return of false is so that we can prompt the player to%0A                              //choose again if the method returns false so they cannot choose the%0A                              //same spot twice%0A    %7B%0A        if (hit==false)%0A        %7B%0A            hit=true;%0A            return true;%0A        %7D%0A        else%0A        %7B%0A            return fals
 e;%0A 

Read the description for changeHit in the viewspot class to know how to use it properly