private void deletePassedItems() { for (RoadObject el : items) { if (el.y > RacerGame.HEIGHT) { items.remove(el); } } }