protected int[] initCenterRoomXY(int dirCode)
	{
		final int[] xy=new int[2];
		switch(dirCode)
		{
		case Directions.NORTHEAST:
			xy[0]=xGridSize()-1;
			break;
		case Directions.NORTHWEST:
			break;
		case Directions.NORTH:
			xy[0]=xGridSize()/2;
			break;
		case Directions.SOUTHEAST:
			xy[1]=yGridSize()-1;
			xy[0]=xGridSize()-1;
			break;
		case Directions.SOUTHWEST:
			xy[1]=yGridSize()-1;
			break;
		case Directions.SOUTH:
			xy[0]=xGridSize()/2;
			xy[1]=yGridSize()-1;
			break;
		case Directions.EAST:
			xy[0]=xGridSize()-1;
			xy[1]=yGridSize()/2;
			break;
		case Directions.WEST:
			xy[1]=yGridSize()/2;
			break;
		default:
			xy[0]=xGridSize()/2;
			xy[1]=yGridSize()/2;
			break;
		}
		return xy;
	}