public void setBorderArea(char dir, Area anArea) {
		switch(dir) {
		case 'a': above      = anArea; anArea.setId(idX, idY-1);                 break;
		case 'b': below      = anArea; anArea.setId(idX, idY+1);                 break;
		case 'l': left       = anArea; anArea.setId(idX-1, idY);                 break;
		case 'r': right      = anArea; anArea.setId(idX+1, idY);                 break;
		case 'q': aboveLeft  = anArea; anArea.setId(anArea.idX-1, anArea.idY-1); break;
		case 'p': aboveRight = anArea; anArea.setId(anArea.idX+1, anArea.idY-1); break;
		case 'z': belowLeft  = anArea; anArea.setId(anArea.idX-1, anArea.idY+1); break;
		case 'm': belowRight = anArea; anArea.setId(anArea.idX+1, anArea.idY+1); break;
		}
	}