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

/*
 * Example FallingBalls: create an active object representing a ball
 * on each mouse click
 *
 * Jim Teresco, Siena College, CSIS 120, Fall 2011
 *
 * $Id: FallingBalls.java 1536 2011-02-14 15:57:51Z terescoj $
 */

public class FallingBalls extends WindowController {

    // the work happens here: create a FallingBall centered
    // at the mouse position each time someone clicks
    public void onMouseClick(Location point) {
	
	new FallingBall(point, canvas);
    }
}
