
/**
 * Simple class that serves as a basketball score keeper for a single team.
 *   @author Dave Reed
 *   @version 10/10/09
 */
public class HoopsScorer {

    /**
     * Constructor for objects of class HoopsScorer.
     */
    public HoopsScorer() {
    }

    /**
     * Resets the score and all statistics.
     */
    public void reset() {
    }

   /**
    * Records a missed shot attempt.
    *   @param numPoints the points awarded for that type of shot, either 1, 2, or 3
    */
   public void missedShot(int numPoints) {
   }
   
   /**
    * Records a made shot.
    *   @param numPoints the points awarded for that type of shot, either 1, 2, or 3
    */
   public void madeShot(int numPoints) {
   }
   
   /**
    * Gets the current score.
    *   @return the team's score
    */
   public int getScore() {
       return 0;
   }
   
   /**
    * Determines the shooting percentage for 2- and 3-pointers, combined.
    *   @return the percentage, rounded to 1 decimal place (e.g., 33.3)
    */
   public double getPercentage() {
       return 0.0;
   }
   
   /**
    * Determines the shooting percentage for a type of shot.
    *   @param numPoints the desired type of shot, either 1, 2, or 3
    *   @return the percentage for that shot, rounded to 1 decimal place (e.g., 33.3)
    */
   public double getPercentage(int numPoints) {
       return 0.0;
   }
}
