1920212223242526272829
if (ran.nextInt(8) == 0) { block = new SolidBlock(); } else { block = new Block(); if(ran.nextInt(5) == 0) { block.addSprite(new Sprite(0, 0, 0)); } } blocks[x + y * width] = block; } }