} else if(blocks.get(i) instanceof SecondBlock) {
SecondBlock b = (SecondBlock) blocks.get(i);
b.draw();
} else if(blocks.get(i) instanceof ThirdBlock) {
ThirdBlock b = (ThirdBlock) blocks.get(i);
b.draw();
} else if(blocks.get(i) instanceof BonusLifeBlock) {
BonusLifeBlock b = (BonusLifeBlock) blocks.get(i);
b.draw();
}
}