180181182183184185186187188189190
} 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(); } } } @Override