public void draw(MinuetoWindow window, MinuetoImage[] imageMapImages, int x, int y) {

		int sizeScreenX = window.getWidth();
		int sizeScreenY = window.getHeight();

		int tileIndexX = x / this.tileSize;
		int tileRemainderX = x % this.tileSize;
		int tileIndexY = y / this.tileSize;
		int tileRemainderY = y % this.tileSize;

		int drawingX = -tileRemainderX;
		int drawingY = -tileRemainderY;

		int indexX = tileIndexX;
		int indexY = tileIndexY;

		while (drawingX < sizeScreenX) {
			while (drawingY < sizeScreenY) {

				if ( (indexX < this.sizeX) && (indexY < this.sizeY) ) {
					window.draw(imageMapImages[this.mapData[indexX][indexY]], drawingX, drawingY);
				}

				drawingY = drawingY + this.tileSize;
				indexY++;
			}

			drawingY = -tileRemainderY;
			drawingX = drawingX + this.tileSize;
			indexY = tileIndexY;
			indexX++;
		}
	}