public void update() { if (left) { paddle.move(true); } if (right) { paddle.move(false); } ball.move(this, paddle); }