//MyMouse.java
import CSLib.*; //imports ALL classes in the CSLib package
public class MyMouse
{
	public static void main (String [] args)
	{
		//construct a TrickMouse object called mickey
		TrickMouse mickey = new TrickMouse();
		mickey.setTitle ("Mickey hits the wall!");
		mickey.setSize (350, 200);
		mickey.hitWall();
		
		//static void pause (long msec) ==> "class" method
		Timer.pause (3000L); //pause 3 seconds
		
		TrickMouse minnie = new TrickMouse();
		minnie.setTitle ("Mickey yells!!");
		minnie.setSize (350, 200);
		minnie.setLocation (325, 250);
		minnie.speak ("Ouch, that hurt!!!!");
		
		Timer.pause (3000L);
		
		TrickMouse mighty = new TrickMouse();
		mighty.setTitle ("Mickey ponders the future..");
		mighty.setSize (350, 200);
		mighty.setLocation (650, 500);
		mighty.speak ("I'll have to be more careful...");
	}
}

