public void brickLayer(int x, int y, int toX, int toY) {
        int incerment = 75;
        double angle = Math.atan2((y - toY), (x - toX));
        double distance = (double) Math.pow((Math.pow(x - toX, 2) + Math.pow(y - toY, 2)), .5);
        for (int i = (int) distance; i > 0; i -= incerment) {
            activeBricks.add(new brick(x, y, angle));
            x += (Math.sin(angle - (Math.PI / 2)) * incerment);
            y += (Math.cos(angle + (Math.PI / 2)) * incerment);
        }

    }