public void colResponse(Ball ball) { if (colDetect(ball)) { if (getType() == 2) Sound.play("\\sound\\spdup.wav"); else Sound.play("\\sound\\paddle.wav"); Point.dirY = -Point.dirY; if (getType() == 2) { Point.velY++; Point.velX++; } setType(this); applyType(this); } }