Class Implementation


Method Documentation

    /** Changes ball's location to reflect being thrown
     *  in the specified direction by the specified strength.
     *    @param direction   direction in which to throw ball
     *    @param strength    strength with which ball is thrown
     *    @return  the ball's new location
     */
    public Location throw(float direction, float strength)
    {
        // Determine a new location based on current location
        //    and direction & strength of throw.
        // Return new location.
    }

Alyce Brady, Kalamazoo College