public DirtStairsTile(int dir) {
        super(new SpriteBody());
        this.dir = dir;

        Random random = new Random(1000);
        int w = 6;
        int h = 8;
        double ws = 1.0 / (w);
        double hs = 1.0 / (h);
        for (int x = -1; x < w + 1; x++) {
            for (int z = 0; z < w * 3; z++) {
                for (int y = h - 1 - z; y < h + 1; y++) {
                    double xx = x * ws + (random.nextFloat() - 0.5) * 0.05;
                    double yy = y * hs + (random.nextFloat() - 0.5) * 0.05;
                    double zz = z * ws + (random.nextFloat() - 0.5) * 0.05;
                    yy += (z + 1) * hs * 0.6 * -dir;
                    sprites.sprites.add(new Sprite(xx, yy, zz, Art.brick));
                    if (x > -1 && x < w && y == 0) y = h - 2;
                }
            }
        }
    }