import objectdraw.*;
import java.awt.*;

/* $Id: DrawRoads.java 1577 2011-03-28 02:10:20Z terescoj $ */

/**
 * Example DrawRoads: draw "road segments" at mouse
 * click points.
 *
 * @author Jim Teresco
 * Siena College, CSIS 120, Fall 2011
 *
 */

public class DrawRoads extends WindowController {
    
    /** Draw a road segment at the mouse press point
     * 
     *  @param point the Location of the mouse press
     */
    public void onMousePress(Location point) {
    
        new RoadSegment(point, canvas);
    }
 }
