public void draw (Graphics g){
	//box
	g.fillRect(x-10, y-13, 20, 20);
	//tread
	 if (dir=='l'){
	  g.fillRect(x-18, y-16, 35, 5);
	  g.fillRect(x-18, y+5, 35, 5);
}  
	 else if (dir=='r'){
	  g.fillRect(x-18, y-16, 35, 5);
	  g.fillRect(x-18, y+5, 35, 5);
}
	 else{
	  g.fillRect(x-10, y-20, 5, 35);
	  g.fillRect(x+10, y-20, 5, 35);	 
	 }
	 
	//inner box
	g.fillRect(x-1, y-5, 10, 10);
	//turret
	 if (dir=='d'){
	   g.fillRect(x-1, y-1, 6, 20);
	 }
	 else if(dir=='u'){
	   g.fillRect(x-1, y-25, 6, 20);	
	}
	 else if (dir=='l'){
	   g.fillRect(x-24, y-7, 20, 6);
	 }
	 else if (dir=='r'){
	   g.fillRect(x+2, y-7, 20, 6);
	 }
	

}