/* Sample driver to test your Particle class */import ann.easyio.*;			// Keyboard, Screen, ...class ParticleDriver extends Object{    public static void main(String [] args)     {        Screen theScreen = new Screen();           Particle p1 = new Particle( 0, 10, 1, -1 );        Particle p2 = new Particle( 0, 0, 1, 1 );        Particle p3 = new Particle( 0, 1, 3, 1 );            theScreen.println( "whenCollide p2, p3 " + p2.whenCollide( p3 ) );        theScreen.println( "whenCollide p1, p2 " + p1.whenCollide( p2 ) );        theScreen.println();        theScreen.println( "p1.getX() = " + p1.getX() );        theScreen.println( "p1.getY() = " + p1.getY() );        theScreen.println( "p2.getX() = " + p2.getX() );        theScreen.println( "p2.getY() = " + p2.getY() );        theScreen.println();        theScreen.println();        p1.advanceTime( 2.5 );        p2.advanceTime( 2.5 );        theScreen.println( "p1.getX() = " + p1.getX() );        theScreen.println( "p1.getY() = " + p1.getY() );        theScreen.println( "p2.getX() = " + p2.getX() );        theScreen.println( "p2.getY() = " + p2.getY() );        theScreen.println();                theScreen.println( "whenCollide p1, p2 " + p1.whenCollide( p2 ) );        theScreen.println();    }}