private void initEntities() {
		// create the player ship and place it roughly in the center of the screen
		map = new MapEntity(this,"sprites/map1.gif",100,370);
		//entities.add(map);

//your car
		switch(carType) {
		case 1: 
			Car = new ShipEntity(this,"sprites/Car1.gif",WIDTH/2,LENGTH/2);
			mx = 120;
			my = 360;
			Car1Picked = true;
			Car2Picked = false;
			Car3Picked = false;
			Car4Picked = false;
			Car5Picked = false;
			Car6Picked = false;
			entities.add(Car);
			break;
		case 2:
			Car = new ShipEntity(this,"sprites/Car2.gif",WIDTH/2,LENGTH/2);
			mx = 170;
			my = 300;
			Car1Picked = false;
			Car2Picked = true;
			Car3Picked = false;
			Car4Picked = false;
			Car5Picked = false;
			Car6Picked = false;
			entities.add(Car);
			break;
		case 3:
			Car = new ShipEntity(this,"sprites/Car3.gif",WIDTH/2,LENGTH/2);
			mx = 230;
			my = 360;
			Car1Picked = false;
			Car2Picked = false;
			Car3Picked = true;
			Car4Picked = false;
			Car5Picked = false;
			Car6Picked = false;
			entities.add(Car);
			break;
		}
//Where the computer cars are drawn
		if(!Car1Picked)
		{
			Car1Ai = new Car1Entity(this,"sprites/Car1.gif",(int)mx+550,(int)my+40);
			entities.add(Car1Ai);
		}
		if(!Car2Picked)
		{
			Car2Ai = new Car2Entity(this,"sprites/Car2.gif",(int)mx+500,(int)my+100);
			entities.add(Car2Ai);
		}
		if(!Car3Picked)
		{
			Car3Ai = new Car3Entity(this,"sprites/Car3.gif",(int)mx+450,(int)my+40);
			entities.add(Car3Ai);
		}



	}