/**
 * Simple class that serves as a basketball score keeper for a single team.
 *   @author Dave Reed
 *   @version 8/28/15
 */
public class HoopsScorer {
    private int score;

    /**
     * Constructor for objects of class HoopsScorer.
     */
    public HoopsScorer() {
        this.score = 0;
    }
    
    /**
     * Records a made shot.
     *   @param numPoints the points awarded for that type of shot, either 1, 2, or 3
     */
    public void recordMadeShot(int numPoints) {
        this.score += numPoints;
    }

    /**
     * Gets the current score.
     *   @return the team's score
     */
    public int getScore() {
        return this.score;
    }
}