public static void setTerrain(int direction)
		{
			switch(direction)
			{
				case 1:		
					tiley--;
					break;   
				case 2:
					tiley++;
					break;
				case 3:
					tilex++;
					break;
				case 4:
					tilex--;
					break;
			}
			  for(int i = 0; i<80; i++)
			  {			  
				 for(int j = 0; j<60; j++)
				  {
					 terrain[i][j]=map[tilex+i][tiley+j];
				  } 
			  }
			 
		}