public void draw() {
        int indice;
        
        for (int y = 0; y < height; y++) {
            for (int x = 0; x < width; x++) {

                indice = x + y * width;

                if (map[indice] == 0) {
                    SingletonGraphics.getInstance().drawImage(Art.hierba, Grid.getBoxCorner(Grid.getBoxBigPosition(x,y)));
                } else if (map[indice] == 1) {
                    SingletonGraphics.getInstance().drawImage(Art.camino, Grid.getBoxCorner(Grid.getBoxBigPosition(x,y)));
                } else if (map[indice] == 2) {
                    SingletonGraphics.getInstance().drawImage(Art.roca, Grid.getBoxCorner(Grid.getBoxBigPosition(x,y)));
                } else if (map[indice] == 3) {
                    SingletonGraphics.getInstance().drawImage(Art.camino, Grid.getBoxCorner(Grid.getBoxBigPosition(x,y)));
                    SingletonGraphics.getInstance().drawImage(Art.gallinero, Grid.getBoxCorner(Grid.getBoxBigPosition(x,y)));
                } else if (map[indice] == 4) {
                    SingletonGraphics.getInstance().drawImage(Art.camino, Grid.getBoxCorner(Grid.getBoxBigPosition(x,y)));
                    SingletonGraphics.getInstance().drawImage(Art.castillo, Grid.getBoxCorner(Grid.getBoxBigPosition(x,y)));
                }
            }
        }
    }