274275276277278279280281282283284
// update holes for(int i = 0; i < holes.size(); i++) { Hole h = holes.get(i); h.update(); // player fell into hole if(h.containsCircle(player)) { player.setPosition(h); player.setVector(0, 0);