/**
 * Second exercise writing JavaDoc and contracts.
 * 
 * <p>Consider class called Speedster.</p>
 * 
 * <p>The class keeps track of total time and total distance, 
 * and calculates velocity.</p>
 * 
 * <p>As the object keeps moving, we add to the total distance and time.</p>
 * 
 * <p>The class does not track directionality</p>
 * 
 * @author Owen Sullivan
 * @version 1.0
 * 
 * @invariant time {@code >} 0 AND distance {@code >=} 0 AND
 * 			  velocity = distance / time
 */
public class Speedster {
 
	private double distance;
	private double time;

	/**
	 * (Fill in constructor description)
	 *
	 * @param d
	 * @param t
	 *
	 * @pre
	 * 		
	 * @post
	 * 		
	 */
	public Speedster(double d, double t) {}

	/**
	 * (Fill in description)
	 *
	 * @param d
	 * @param t
	 *
	 * @pre
	 * 		d {@code >=} 0 AND t {@code >} 0
     * @post
	 * 		distance = #distance + d AND
	 * 		time = #time + t AND
	 * 		velocity = #velocity
	 */
	public void addTravel(double d, double t) {}

	/**
	 * (Fill in description)
	 *
	 * @return 
	 *
	 * @pre
	 * 
	 * @post
	 * 
	 */
	public double getVelocity() {}

	/**
	 * (Fill in description)
	 *
	 * @return 
	 *
	 * @pre
	 * 
	 * @post
	 * 
	 */
	public double getTotalDistace() {}

	/**
	 * (Fill in description)
	 *
	 * @return 
	 *
	 * @pre
	 * 
	 * @post
	 * 
	 */ 
	public double getTotalTime() {}

}