public int[] getTile(int x, int y)
	{
		int shift = 0;
		if(showCoords)
			shift = 1;
		
		int tileXSize = width/(sea.length+shift), tileYSize = height/(sea[0].length+shift);
		
		int x1 = (int)(1.0*(x-this.x)/tileXSize);
		int y1 = (int)(1.0*(y-this.y)/tileYSize);
		
		if(showCoords)
		{
			x1 -= 1;
			y1 -= 1;
		}
		
//		if(x1 < 0)
//			x1 = 0;
//		if(y1 < 0)
//			y1 = 0;
		
//		System.out.println(x1+" , "+y1);
		
		return new int[]{x1 , y1};		//placeholder
	}